﻿/* --- Base Page Setup --- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

    body::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/images/ul_bg.png'); /* Replace with your actual image path */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.1;
        z-index: -1;
    }

/* --- Headings --- */
h4 {
    color: #5e5656;
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}

/* --- Container holding the reset password card --- */
.body-container {
    background-color: #c4c4c4;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* --- Reset Password Wrapper --- */
.forgot-password-wrapper {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(255, 140, 0, 0.15); /* 🟠 Light transparent orange */
    border: 2px solid #FF8C00;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

    .forgot-password-wrapper h4 {
        text-align: center;
        color: #e67e00;
        font-size: 1.5em;
        margin-bottom: 10px;
    }

/* --- Form Controls --- */
.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.full-width-control {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 15px;
}

.full-width-btn {
    width: 100%;
    height: 45px;
    margin-top: 10px;
    background-color: #e67e00;
    border: none;
    color: white;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

    .full-width-btn:hover {
        background-color: #cf6c00;
    }

/* --- Back Button --- */
.back-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #ccc;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

    .back-btn:hover {
        background-color: #999;
    }

.text-danger {
    color: #c00;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .forgot-password-wrapper {
        width: 60%;
    }
}

@media (max-width: 992px) {
    .forgot-password-wrapper {
        width: 80%;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .body-container {
        align-items: flex-start;
    }

    .forgot-password-wrapper {
        width: 100%; /* ✅ Full width */
        font-size: 1em;
    }

    .full-width-control,
    .full-width-btn,
    .back-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .forgot-password-wrapper {
        width: 100%;
        font-size: 1em;
        padding: 20px;
    }
}
