/* =========================================
   Header Area & Custom Header
   ========================================= */
.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.auth-header .back-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.auth-header .page-title {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

.app-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin: 0 -16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    height: 50px;
}

.app-header-custom .logo img {
    width: 75px;
    display: block;
}

.app-header-custom .highlight {
    color: #ffcc00; /* লোগোর গোল্ডেন কালার */
}

.close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
}

/* =========================================
   Brand Logo
   ========================================= */
.brand-logo {
    text-align: center;
    margin: 30px 0 40px 0;
}

.brand-logo h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
}

.brand-logo .highlight {
    color: #ffc107;
}

/* =========================================
   Toggle Button Container
   ========================================= */
.auth-toggle-container {
    display: flex;
    border-radius: 99px;
    margin: 40px 20px 32px 20px;
    padding: 0px;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.toggle-btn {
    height: 35px;
    box-sizing: border-box; 
    padding: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 15px;
    border-radius: 99px;
    position: relative;
}

.toggle-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 0.1px solid #997B00;
}

.toggle-btn .badge {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 9px;
    color: #ffcc00;
    font-weight: normal;
}

/* =========================================
   Form, Labels & Dark Input Fields
   ========================================= */
.auth-form {
    width: auto;
    margin-inline: 20px;
}

.input-group {
    margin-bottom: 28px;
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.input-wrapper {
    height: 40px; 
    box-sizing: border-box; 
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 99px;
    padding: 0 15px; 
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-wrapper .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    width: 16px;
}

.input-wrapper .icon svg {
    stroke: rgba(255, 255, 255, 0.4);
}

.input-wrapper input {
    height: 40px; 
    box-sizing: border-box; 
    padding: 0; 
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #ffffff;
    outline: none;
    width: 100%;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   Autofill White Background Fix
   ========================================= */
.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover, 
.input-wrapper input:-webkit-autofill:focus, 
.input-wrapper input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important; 
    transition: background-color 5000s ease-in-out 0s !important; 
}

/* =========================================
   Button Design
   ========================================= */
.btn-primary {
    height: 38px; 
    box-sizing: border-box; 
    padding: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%;
    background-color: #ffcc00;
    color: #000000;
    border: none;
    border-radius: 99px;
    font-size: 16px;
    margin-top: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* =========================================
   Login Link Area
   ========================================= */
.auth-links {
    text-align: center;
    margin-top: 25px;
}

.auth-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
}