:root {
  --main-color: #FCD535;
  --main-hover-color: #F0B90B;
  --main-focus-color: rgba(252, 213, 53, 0.7);
  --bg-color: #F9FAFB;
  --bg-menu-color: #FFF;
  --bg-panel-color: #FFF;
  --line-border: #D9D9D9;
  --panel-line-border: #DADCE0;
  --body-color: #F9FAFB; //
  --menu-color: rgba(0,0,0,.8);
  --menu-active-color: #111;
  --hr-color: #EEEEEE;
  --input-color: #555555;
  --bg-radio: #F5F5F5;
  --bg-read-only-color: rgba(238, 238, 238, 0.3);
  --bg-navbar-toggle-color: #DDDDDD;
  --navbar-border: #E7E7E7;
  --bg-alert-primary-color: #FAFAFA;
  
  --default-color: #555555;
  --bg-default-color: #FFF;
  --bg-default-hover-color: #EBEBEB;
  --bg-default-lite-color: #F5F5F5;
  
  --bg-progress-bar-circle-color: #E9E9E9;
  
  --font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-family-second: "Open Sans", Arial, Helvetice Neue, sans-serif;
  
  --success-color: #04AA6D;
  --bg-success-color: #04AA6D;
  --bg-success-hover-color: #069C65;
  --bg-success-lite-color: rgba(4, 170, 109, 0.2);
  
  --bg-warning-color: #FF9800;
  --bg-warning-hover-color: #DB8400;
  --bg-warning-lite-color: rgba(255, 152, 0, 0.2);
  
  --bg-danger-color: #F44336;
  --bg-danger-hover-color: #DF3F33;
  --bg-danger-lite-color: rgba(244, 67, 54, 0.2);
  
  --bg-scrollbar-color: #C8C8C8;    
}
body {
    background-color: var(--body-color);
}
.linet {
    border-bottom: 1px solid var(--panel-line-border);
    -webkit-box-shadow: 0 1px 2px #0000001a;
    -moz-box-shadow: 0 1px 2px #0000001a;
    box-shadow: 0 1px 2px #0000001a;
}        
.nav > li > a {
    padding: 10px 12px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    color: var(--body-color);
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--menu-active-color);
}


.navbar-default {
    border: none;
    background-color: var(--bg-menu-color);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    border-bottom: 2px solid var(--main-hover-color);
}      
.navbar-nav:before,
.navbar-nav:after {
  display: table;
  content: " ";
}
.navbar-collapse:before,
.navbar-collapse:after {
  display: table;
  content: " ";
}        
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: var(--navbar-border);
}        
.navbar-collapse.in {
  overflow-y: auto;
}        
@media (min-width: 992px) {
  .navbar-left {
    float: left !important;
  }
  .navbar-right {
    float: right !important;
  }
}        



/* accounts list */

.account-row {
    transition: all 0.2s;
    border-radius: 8px;
}

.account-row:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.compact-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats-pill {
    font-size: 0.85rem;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 4px 12px;
}

.delete-btn {
    opacity: 0;
    transition: opacity 0.2s;
}

.account-row:hover .delete-btn {
    opacity: 1;
}



/* swal */

.sw2-btn-actions {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the buttons if desired */
}

.sw2-grid-buttons {
  display: grid;
  grid-template-rows: auto auto;
  grid-row-gap: 10px; /* Space between the rows */
  justify-items: center; /* Center items in the grid */
}

.sw2-grid-buttons button:first-child {
  grid-column: span 2; /* Make the Login button span two columns */
  width: 100%; /* Full width for the Login button */
}

.sw2-grid-buttons button:nth-child(2),
.sw2-grid-buttons button:nth-child(3) {
  width: 48%; /* Width for Deny and Cancel to fit side-by-side */
}
.sw2-grid-buttons .swal2-loader {
    width: 2.2em;
}
@media (max-width: 768px) {
  .swal2-container .swal2-html-container {
    padding: 1em 0.1em 0.3em !important; /* Adjusted padding for mobile devices */
  }
  
  .swal2-validation-message {
    padding: 0.5rem 0.0rem !important; 
  }
  
  .swal2-grid-buttons button:nth-child(2),
  .swal2-grid-buttons button:nth-child(3),
  .swal2-grid-buttons button:nth-child(4) {
    width: 100%; /* Width for Deny and Cancel to fit side-by-side */
  }
}



@keyframes slide-left {
    0%,to {
        left: 1rem
    }

    50% {
        left: 1.4rem
    }
}

@keyframes slide-right {
    0%,to {
        right: 0.1rem
    }

    50% {
        right: -0.3rem
    }
}
#free-instagram-services .prev {
    left: .5rem
}

#free-instagram-services .prev i {
    /*transform: rotate(90deg);*/
    animation: slide-left 1s ease-in-out infinite;
    position: relative;
    margin-left: -38px;    
}

#free-instagram-services .next {
    right: .5rem
}

#free-instagram-services .next i {
    /*transform: rotate(-90deg);*/
    animation: slide-right 1s ease-in-out infinite;
    position: relative;
    margin-right: -16px;    
}

#free-instagram-services .hide-scrollbar {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

#free-instagram-services .hide-scrollbar::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}



#free-tiktok-services .prev {
    left: .5rem
}

#free-tiktok-services .prev i {
    /*transform: rotate(90deg);*/
    animation: slide-left 1s ease-in-out infinite;
    position: relative;
    margin-left: -38px;    
}

#free-tiktok-services .next {
    right: .5rem
}

#free-tiktok-services .next i {
    /*transform: rotate(-90deg);*/
    animation: slide-right 1s ease-in-out infinite;
    position: relative;
    margin-right: -16px;    
}

#free-tiktok-services .hide-scrollbar {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

#free-tiktok-services .hide-scrollbar::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}


@media (max-width: 991px) {
    #navbar-website-name {
        display: block !important;
    }
    .navbar-collapse {
      text-align: center !important;
    }
    .navbar-nav {
      display: inline-block;
      text-align: left !important;
    }
}


.btn-instagram-outline {
    background-color: transparent;
    color: #E1306C; /* Instagram's pink */
    border: 2px solid #E1306C;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-instagram-outline:hover {
    background-color: #E1306C; /* Fill with pink on hover */
    color: white; /* Text turns white on hover */
}


.btn-tiktok-outline {
    background-color: transparent;
    color: black; /* TikTok uses black prominently */
    border: 2px solid black;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-tiktok-outline:hover {
    background-color: black; /* Fill with black on hover */
    color: white; /* Text turns white on hover */
}





/* Custom styles only where Bootstrap doesn't provide */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.credential-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
    transition: all 0.2s;
}

.credential-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.credential-item.security-code {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.credential-item.security-code:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.credential-item.security-code small,
.credential-item.security-code strong {
    color: white !important;
}

.copy-btn {
    cursor: pointer;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #0d6efd !important;
}

.copy-btn.copied {
    color: #198754 !important;
}

.credential-item.security-code .copy-btn {
    color: rgba(255, 255, 255, 0.8) !important;
}

.credential-item.security-code .copy-btn:hover {
    color: white !important;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.benefit-item i {
    color: #198754;
    margin-right: 10px;
    font-size: 1.2rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.step-badge {
    background: #0d6efd;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 8px;
}

.waiting-code {
    /*background: #fff3cd;*/
    /*border: 1px solid #ffc107;*/
    border-radius: 8px;
    padding-top: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waiting-code .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 8px;
    border-width: 2px;
}

.text-white-50 {
    opacity: 0.8;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.code-received {
    animation: codeReceived 0.5s ease-out;
}

@keyframes codeReceived {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}


.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 5px;
    color: #6c757d;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #495057;
}

.password-input-group {
    position: relative;
}

#password-input {
    padding-right: 40px;
}