/*
 * Premium Authentication Styles
 * Specifically designed for the CMS Dashboard Login
 */

.authentication-wrapper {
  display: flex;
  flex-basis: 100%;
  min-height: 100vh;
  width: 100%;
}

.authentication-wrapper .authentication-inner {
  width: 100%;
}

    .authentication-wrapper.authentication-basic {
        align-items: center;
        justify-content: center;
        background: #02223c !important;
        position: relative;
        overflow: hidden;
        padding: 1.5rem;
    }

/* Ambient background glow */
        .authentication-wrapper.authentication-basic::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 200%;
            height: 200%;
            background: #02223c !important;           
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 0;
        }

.authentication-inner {
  max-width: 418px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Card */
.premium-auth-card {
    background: #02223c !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.75rem !important;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    width: 400px;
    min-height: 600px;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.forgot-password-card {
  height: 500px !important;
}

.premium-auth-card .card-body {
  padding: 3rem !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header & Icons */
.auth-icon-container {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,213,153,0.3), rgba(255,213,153,0.15));
    margin-bottom: 1.25rem;
    position: relative;
}

.auth-icon-container i {
  font-size: 1.75rem;
  color: #d4bc8d;
}

.admin-badge .badge {  
    color: #FFD599 !important;
    background-color: rgba(255,213,153,0.1);
    border: 1px solid rgba(255,213,153,0.15);
    background: rgba(255, 255, 255, 0.07) !important;  
    border-radius: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;   
}

.auth-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  font-size: 1.35rem;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 1rem;
  font-weight: 400;
}

/* Custom Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.divider-icon {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
}

/* Premium Input */
.premium-input-group {
    background: rgba(255, 255, 255, 0.04); /* lighter glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .premium-input-group .form-control {
        /*background: transparent !important;*/
        height:46px;
        border: none !important;
        color: #ffffff !important;
        font-size: 0.95rem;
    }
       
        .premium-input-group .form-control:-webkit-autofill,
        .premium-input-group .form-control:-webkit-autofill:hover,
        .premium-input-group .form-control:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
            -webkit-text-fill-color: #ffffff !important;
            transition: background-color 9999s ease-in-out 0s;
        }

        .premium-input-group .form-control:focus {
            box-shadow: none !important;
        }

        .premium-input-group .form-control::placeholder {
            color: rgba(255, 255, 255, 0.5) !important;
        }

    .premium-input-group .input-group-text {
        background: transparent !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding-left: 1rem;
    }

    .premium-input-group:focus-within {
        border-color: #FFD599;
        box-shadow: 0 0 10px rgba(255, 213, 153, 0.2);
    }

/* OPTIONAL: smooth glass effect */
.premium-input-group {
    backdrop-filter: blur(8px);
}

/* Premium Button */
.premium-btn {
  background: #8d7d62 !important;
  color: #02223c !important;
  border: none !important;
  height: 46px;
  padding: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease !important;
  text-transform: none !important;
  letter-spacing: 0.05em;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(141, 125, 98, 0.2) !important;
}

.premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(141, 125, 98, 0.3) !important;
  filter: brightness(1.1);
}

.premium-btn.active {
    background: linear-gradient(135deg, rgb(204, 154, 77), rgb(255, 213, 153)) !important;  
}

/* Footer & Features */
.footer-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

.footer-features {
  padding-top: 0;
  border-top: none;
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.35) !important ;
  font-size: 0.75rem;
  font-weight: 400;
}

    .feature-item i {
        color: rgba(255, 255, 255, 0.35) !important;
    }

/* Form Validation */
.text-danger {
  font-size: 0.8rem;
  color: #ff6b6b !important;
  font-weight: 500;
  margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .premium-auth-card .card-body {
    padding: 2.5rem 1.5rem !important;
  }

  .auth-title {
    font-size:1.35rem;
  }

  .footer-features {
    gap: 1.5rem !important;
  }
}
.premium-auth-card .form-control,
.premium-auth-card input {
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.25) !important;
}

.premium-auth-card a,
.premium-auth-card a p {
    color: #FFD599 !important;
    text-decoration: none !important;
}

/* Header Styles */
.auth-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
}

.auth-navbar .navbar-logo img {
    height: 33px;
    object-fit: contain;
}

.auth-navbar .back-to-site-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.auth-navbar .back-to-site-link:hover {
    color: #ffffff !important;
    opacity: 1;
}

.auth-navbar .back-to-site-link i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .auth-navbar {
        padding: 1.5rem 2rem;
    }
    .auth-navbar .navbar-logo img {
        height: 36px;
    }
}
