
        body {
            background: #28A745;
            font-family: 'Segoe UI', Arial, sans-serif;
            margin: 0;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .background {
            position: fixed;
            width: 95%;
            height: 95%;
            background-image: url('background-image.png');
            background-size: cover;
            z-index: -1;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 20%;
           
        }
        .container {
            display: flex;
            justify-content: center;
            align-items: stretch;
            height: 55vh;
        }
        .info-box {
            position: relative;
        background-color: rgba(255, 255, 255, 0.85);
            padding: 30px 20px;
            width: 300px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
                 
        }
        .back-link {
            position: absolute;
            top: 10px;
            left: 10px;
            color: #28A745;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
        }
        .logo {
         width: 200px;
            height: 200px;
            margin-bottom: 10px;
            border: 5px solid white;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        .info-box h1 {
            margin: 0;
            font-size: 18px;
            color: white;
   
        }
        .popup-message {
            position: fixed;
            top: 32px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            min-width: 320px;
            max-width: 90vw;
            padding: 16px 32px;
            border-radius: 8px;
            font-size: 1rem;
            box-shadow: 0 3px 12px rgba(0,0,0,0.09);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            pointer-events: auto;
            transition: opacity 0.7s;
        }
/* ─────── PASSWORD TOGGLE – EXACT SAME AS REGISTER (CLEAN & CONSISTENT) ─────── */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px !important;   /* keeps spacing perfect */
}

.password-wrapper input {
    width: 100% !important;
    padding: 12px 44px 12px 12px !important;     /* eye icon space */
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 1.06rem !important;               /* ← exact same as register */
    letter-spacing: normal !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    background: white !important;
    margin-bottom: 0 !important;
    display: block;
}

.toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #666;
    cursor: pointer;
    user-select: none;
    z-index: 2;
    pointer-events: auto;
}

/* Hide Windows/Edge default eye */
#password-field::-ms-reveal,
#password-field::-ms-clear {
    display: none !important;
}


input:focus {
    border: 1px solid #e0e0e0 !important;  
    outline: none;
}

input[type="email"]:focus,
#password-field:focus {
    border: 2px solid #179c3f !important;
    outline: none !important;
}

/* Optional: make all text inputs consistent too */
input[type="text"]:focus {
    border: 2px solid #179c3f !important;
    outline: none !important;
}
@media (max-width: 480px) {
    .password-wrapper input {
        padding: 10px 44px 10px 10px !important;
        font-size: 0.95rem !important;
    }
}

/* Hide default icons */
#password-field::-ms-reveal,
#password-field::-ms-clear {
    display: none !important;
}
        .popup-message.success {
            color: #179c3f;
            background: #fff;
            border: 1px solid #179c3f;
        }
        .popup-message.error {
            color: #e74c3c;
            background: #fff;
            border: 1px solid #e74c3c;
        }
        .popup-message.hide {
            opacity: 0;
            pointer-events: none;
        }
        form {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.85);
            padding: 30px 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.09);
            width: 300px;
            position: relative;
        }
        form h2 {
            margin: 0 0 16px 0;
            color: #179c3f;
            font-size: 1.17rem;
            font-weight: 600;
        }
        input[type="email"], input[type="password"] {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            font-size: 1.06rem;
            margin-bottom: 16px;
            outline: none;
            transition: border 0.2s;
            box-sizing: border-box;
        }
        input:focus {
            border: 1.5px solid #179c3f;
        }
        button {
            background: #179c3f;
            color: #fff;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            padding: 12px 0;
            font-size: 1.03rem;
            cursor: pointer;
            transition: background 0.2s;
            width: 100%;
            margin-bottom: 8px;
        }
        button:hover {
            background: #11782f;
        }
        p {
            margin: 10px 0 0 0;
            font-size: 0.97rem;
            color: #555;
        }
        a {
            color: #179c3f;
            font-weight: bold;
            text-decoration: none;
        }
        @media (max-width: 900px) {
            .container {
                flex-direction: column;
                align-items: center;
                padding: 20px;
                border-radius: none;
            }
            .info-box, form {
                width: 95vw;
                max-width: 380px;
            }
            .logo {
                width: 120px;
                height: 120px;
            }
      
        }
        
        
        
   @media (max-width: 480px) {
    .background {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        background: white;
    }
    .info-box {
        padding-bottom: 20px;
    }
    .info-box, form {
        margin: 0;
        gap: 0;
        padding: 16px 4px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255,255,255,0.1);
    }
    form h2 {
        font-size: 1.02rem;
    }
    input[type="email"], input[type="password"] {
        padding: 10px;
        font-size: 0.95rem;
    }
  .password-wrapper input {
    padding: 10px 44px 10px 10px !important;
    font-size: 0.95rem;
}
    button {
        padding: 10px 0;
        font-size: 0.98rem;
    }
    .logo {
        width: 70px;
        height: 70px;
    }
    .popup-message {
        min-width: 90vw;
        padding: 12px 8px;
        font-size: 0.98rem;
    }
}
