/* Auth Pages - Unified Style */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../uploads/background1.jpg') no-repeat center center fixed;
    background-size: cover;
}

.overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

.container {
    max-width: 400px;
    margin: 6% auto;
    background: rgba(237, 232, 232, 0.356);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    color: rgb(0, 0, 0);
    text-align: center;
    position: relative;
}

.container::before {
    content: "";
   
    background-size: cover;
    opacity: 0.5;
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    border-radius: 15px;
    z-index: 0;
}

.container * { position: relative; z-index: 1; }

h2 {
    margin-bottom: 20px;
    color: #211f1b;
    font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 10px;
    color: #000;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 1rem;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #efc786, #d4a64f);
    font-weight: bold;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(239,199,134,0.6);
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.message.success { background: rgb(255, 255, 255); color: #2ecc71; }
.message.error   { background: rgb(255, 255, 255); color: #e74c3c; }

p {
    margin-top: 15px;
    font-size: 14px;
}

p a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

p a:hover { text-decoration: underline; }


/* Responsive */
@media (max-width: 480px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 15px;
        background-size: cover;
    }

    .container {
        width: 95%;
        max-width: 420px;
        padding: 25px 20px;
        border-radius: 18px;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="password"] {
        font-size: 16px;
         width: 85%;
        padding: 16px
        
    }

    input[type="submit"] {
        font-size: 17px;
        padding: 15px;
    }

    h2 {
        font-size: 22px;
    }
}

