﻿body {
    font-family: Arial, sans-serif;
    background-color: #B99A81;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.forgot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.forgot-card {
    display: flex;
    background-color: #EDE8D5;
    width: 60%;
    min-height: 500px;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.forgot-left {
    background-color: #F5F1E3;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo {
    max-width: 80%;
}

.forgot-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    text-align: center;
}

.forgot-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.forgot-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    text-align: center;
    max-width: 80%;
}

.input-group {
    width: 110%;
    margin-bottom: 20px;
    margin-left: -21px;
}

    .input-group input {
        width: 100%;
        padding: 12px;
        border-radius: 5px;
        border: 1px solid #ccc;
        background-color: #F5F1E3;
        font-size: 14px;
    }

.forgot-button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #B99A81;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .forgot-button:hover {
        background-color: #A88B72;
    }

.back-to-login {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

    .back-to-login a {
        color: #B99A81;
        text-decoration: none;
        font-size: 12px;
        font-weight: bold;
    }

        .back-to-login a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .forgot-card {
        flex-direction: column;
        width: 90%;
        align-items: center;
        justify-content: center;
    }

    .forgot-left,
    .forgot-right {
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .logo {
        max-width: 50%;
        margin-bottom: 20px;
    }

    .forgot-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .forgot-description {
        font-size: 9px; /* diperkecil lagi agar muat 1 baris */
        max-width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 20px;
    }

    .input-group {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

        .input-group input {
            width: 100%; /* cukup besar tapi tetap terpusat */
            max-width: 400px; /* batasi agar nggak terlalu lebar di layar besar */
            margin: 0 auto; /* ini kunci buat center */
            padding: 12px;
            font-size: 13px;
            text-align: left;
            border-radius: 5px;
            border: 1px solid #ccc;
            margin-left: 40px;
        }

    .forgot-button {
        width: 70%;
        padding: 10px;
        font-size: 14px;
        text-align: center;
        margin: 0 auto;
    }

    .back-to-login {
        margin-top: 15px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }
}

.or-text {
    text-align: center;
    margin: 10px 0;
    font-style: italic;
    color: #888;
}

.forgot-note {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}
