body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(0.25turn, #d0dbda, #dddfeb, #cad1ed);
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ---- Container ---- */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    width: 400px;
    max-width: 100%;
    padding: 40px;
    position: relative;
}

/* ---- Logo Header ---- */
.logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

/* Logo Image */
.logo-header .profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
    border: 3px solid #eee;
}

/* App Name + Description */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.logo-text h2 {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    color: #4b3ca7;
}

.logo-text p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

/* ---- Toggle Buttons ---- */
.toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.toggle-buttons button {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: var(--primary, #6c5ce7);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-buttons button.active {
    background: var(--primary-dark, #5649C0);
}

.toggle-buttons button:hover:not(.active) {
    background: #8e7fdb;
}

/* Form styles */
form {
    display: none;
    flex-direction: column;
}

form.active {
    display: flex;
}

.input-icon {
    position: relative;
    margin-bottom: 20px;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray, #636E72);
}

.input-field {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    font-size: 14px;
    background-color: #fafafa;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Poppins', sans-serif;
}

.input-field:focus {
    border-color: var(--primary, #6c5ce7);
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

.register-btn {
    background: linear-gradient(0.25turn, #b471e3, #585b70, #9182d9);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.register-btn:active {
    transform: translateY(0);
}

.register-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.login-link {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: var(--gray, #636E72);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-box {
    background: #222;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    animation: fadeInScale 0.3s ease;
}

.spinner {
    width: 40px; height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 15px;
}

.loading-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* LOGIN LINK BUTTON */
.login-link a {
    display: inline-block;
    background: #28a745;
    color: white !important;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.login-link a:hover {
    background: #218838;
    box-shadow: 0 6px 15px rgba(33, 136, 56, 0.5);
    text-decoration: none;
    color: white !important;
}
/* 🌟 Shining animation for app name */
.shine-text {
    position: relative;
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #4b3ca7;
    overflow: hidden;
}

.shine-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 2.5s infinite;
}

/* ✨ Shimmer Animation Keyframes */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 120%; }
}
/* ---- Button Row ---- */
.button-row {
    display: flex;
    justify-content: center;
    gap: 10px; /* buttons ke beech gap */
    margin-top: 15px;
}

/* ---- Reset Button ---- */
.reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #6c5ce7;
    color: white;
    font-weight: 500;
    font-size: 13px;
    border-radius: 25px;
    padding: 7px 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
}

.reset-btn i {
    font-size: 14px;
}

.reset-btn:hover {
    background: #5649C0;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.5);
}

.reset-btn:active {
    transform: translateY(0);
}

/* ---- WhatsApp Button (compact, same as before) ---- */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: white;
    font-weight: 600;
    font-size: 13px;
    border-radius: 25px;
    padding: 7px 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 16px;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:active {
    transform: translateY(0);
}


