/*!
 * NICHE Landing Page
 * Custom Stylesheet for this Landing Page
 * Landing Page (https://cpacodex.com)
 * Copyright 2014-2019 CPACodex Web Services
 * Licensed under MIT 
 */

 /* Global Changes */
       body {
      background: #000;
      color: #fff;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .app-wrapper {
      max-width: 420px;
      margin: 20px auto 40px;
    }

    /* top bar */
    .top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 4px 10px;
    }
    .top-left-icons {
      display: flex;
      align-items: center;
    }
    .icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #181818;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 8px;
      font-size: 16px;
    }
    .app-title {
      font-weight: 700;
      letter-spacing: 1.5px;
      font-size: 18px;
    }

    /* avatars row */
    .avatar-strip {
      height: 140px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      padding: 0 10px;
      margin-bottom: 15px;
    }
    .avatar-strip img {
      height: 130px;
      object-fit: contain;
    }

    /* username bar */
    .username-bar {
      background: #1e1e1e;
      border-radius: 999px;
      padding: 8px 16px;
      margin-bottom: 20px;
      min-height: 52px;
      display: flex;
      align-items: center;
    }

    /* IDLE */
    #stateIdle {
      display: flex;
      align-items: center;
      width: 100%;
    }
    #usernameInput {
      background: transparent;
      border: 0;
      color: #fff;
      flex: 1;
      outline: none;
      font-size: 16px;
    }
    #usernameInput::placeholder {
      color: #9b9b9b;
    }
    .btn-connect {
      border-radius: 999px;
      padding: .45rem 1.4rem;
      font-weight: 500;
      font-size: .9rem;
      background: #2b2b2b;
      border: 0;
      color: #fff;
    }

    /* CONNECTING */
    #stateConnecting {
      width: 100%;
      display: none; /* toggle with JS */
      align-items: center;
      justify-content: center;
      font-size: 14px;
    }
    .connecting-inner {
      display: flex;
      align-items: center;
    }
    .connecting-inner i {
      margin-right: 8px;
      font-size: 13px;
    }

    /* CONNECTED */
    #stateConnected {
      width: 100%;
      display: none;
      align-items: center;
      justify-content: space-between;
    }
    .connected-left {
      display: flex;
      align-items: center;
      font-size: 14px;
    }
    .connected-left i {
      margin-right: 8px;
      font-size: 16px;
      color: #39d353;
    }
    .btn-change {
      border-radius: 999px;
      padding: .35rem 1.1rem;
      font-size: .85rem;
      background: #2b2b2b;
      border: 0;
      color: #fff;
      font-weight: 500;
    }

    .btn-connect:hover, .btn-connect:focus { 
    	color: lightblue;
    }

	.btn-change:hover, .btn-change:focus { 
    	color: lightblue;
    }

    /* main panel & items */
    .features-panel {
      background: #070707;
      border-radius: 26px;
      padding: 10px 0 16px;
      margin-top: 4px;
      transition: opacity .25s ease;
    }
    /* DISABLED state – visible but dim + not clickable */
    .features-panel.disabled {
      opacity: .3;
      pointer-events: none;
    }

    .feature-item {
      cursor:pointer;
      margin: 8px 14px;
      background: #181818;
      border-radius: 18px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      color: #fff;
    }
    .feature-icon {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background: #262626;
      margin-right: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }
    .feature-text {
      flex: 1;
    }
    .feature-title {
      font-size: .95rem;
      font-weight: 600;
      margin-bottom: 2px;
    }
    .feature-subtitle {
      font-size: .75rem;
      color: #b0b0b0;
      margin-bottom: 0;
    }
    .feature-chevron {
      font-size: .8rem;
      color: #707070;
    }

    .avatar-group {
  justify-content: center;        /* centriraj */
  height: 150px;                  /* ako treba više prostora */
}

.avatar-group img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

/* Background blur */
.bf-modal-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.bf-header span {
color: #252525;
    font-weight: bold;
    margin-left: 15px;
}

/* Modal container */
.bf-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 92%;
    max-width: 380px;
    background: #fdfdfd;
    border-radius: 20px;
    z-index: 1001;
    padding: 15px 0 5px 0;
    opacity: 0;

    transition: .25s ease;
}

/* SNAPCHAT ANIMATION */
.bf-modal.show {
  border-radius: 8px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

#username-show {
    margin-left: 0px;
    color: purple;
}

.snap-wrap{
  max-width:520px;
  margin:0 auto;
  font-family:-apple-system, BlinkMacSystemFont, "SF Pro Text","SF Pro Display", Helvetica, Arial, sans-serif;
  background:#fff;
}

.snap-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin:10px 0 14px;
}

.snap-title{
  font-size:32px;
  font-weight:800;
  letter-spacing:-0.6px;
  color:#000;
  line-height:1;
}

.snap-streak{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#f6f6f6;
  border:1px solid #ededed;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.snap-fire{
  font-size:18px;
  line-height:1;
  transform:translateY(-1px);
}

.snap-streak-num{
  font-size:15px;
  font-weight:700;
  color:#000;
  letter-spacing:-0.2px;
}

.snap-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}

.snap-row{
  display:flex;
  align-items:center;
  padding:14px 16px;
}

.snap-row + .snap-row{
  border-top:1px solid #f2f2f2;
}

.snap-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  margin-right:14px;
  background:#eee;
  flex:0 0 auto;
}

.snap-text{ display:flex; flex-direction:column; }

.snap-name{
  font-size:17px;
  font-weight:600;
  color:#000;
  line-height:1.2;
}

.snap-meta{
  margin-top:4px;
  font-size:14px;
  font-weight:400;
  color:#8e8e93; /* iOS gray */
  display:flex;
  align-items:center;
  gap:7px;
}

/* Snapchat: OUTLINE ONLY square */
.snap-square{
  width:14px;
  height:14px;
  border-radius:4px;
  background:transparent;
  border:2px solid;
  display:inline-block;
  transform:translateY(0.5px);
}

/* outline colors */
.red{border-color:#ff3b30;}
.purple{border-color:#af52de;}
.yellow{border-color:#ffcc00;}
.blue{border-color:#007aff;}
.orange{border-color:#ff9500;}

@keyframes bfSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}


#bfSpinner{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;

  /* bitno: rotacija + centar u keyframes, zato ovdje NE stavljamo transform */
  border: 4px solid rgba(0,0,0,0.15);
  border-top-color: #000;
  border-radius: 50%;

  animation: bfSpin 0.9s linear infinite;
  z-index: 9999;
}

.bf-img-protect{
  position: relative;
  display: inline-block;
}

/* prava slika */
#bfImg{
  pointer-events: none;        /* 🔥 onemogućava klik / save */
  user-select: none;
  -webkit-user-drag: none;
}

/* nevidljivi overlay preko slike */
.bf-img-protect::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:5;
}




