
/* ============================================================
   MUNKA PIGGERY MANAGEMENT SYSTEM
   FORGOT PASSWORD PAGE
   PROFESSIONAL RESPONSIVE DESIGN
   ============================================================ */

:root {
    --navy: #10243a;
    --green: #159957;
    --green-dark: #107744;
    --background: #eef3f7;
    --white: #ffffff;
    --text: #263445;
    --muted: #718096;
    --border: #dce5ed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #d8eee4, transparent 40%),
        linear-gradient(135deg, #eef3f7, #e3ebf2);
}

/* MAIN CARD */

.container {
    width: 100%;
    max-width: 450px;
    padding: 38px 32px;
    background: var(--white);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(16,36,58,0.12);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* BRAND NAME */

.container h1 {
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.container h1::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin: 13px auto 22px;
    border-radius: 10px;
    background: var(--green);
}

/* PAGE HEADING */

.container h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 23px;
    font-weight: 700;
}

.description {
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* FORM */

form {
    width: 100%;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    height: 49px;
    padding: 0 15px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: #fbfcfd;
    color: var(--text);
    font-size: 15px;
    transition: 0.25s ease;
}

.form-group input:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(21,153,87,0.12);
}

.form-group input::placeholder {
    color: #a2adba;
}

/* SECURITY VERIFICATION */

#turnstileWidget {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 70px;
    margin: 15px 0 20px;
    overflow: hidden;
}

/* RESET BUTTON */

button {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(21,153,87,0.20);
    transition: 0.25s ease;
}

button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--green-dark), #095e35);
    transform: translateY(-2px);
}

button:disabled {
    background: #aab8b0;
    box-shadow: none;
    cursor: not-allowed;
}

/* RESPONSE MESSAGES */

.message {
    display: none;
    margin-top: 20px;
    padding: 13px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
}

.message.success,
.message.error,
.message.info {
    display: block;
}

.message.success {
    color: #116b3e;
    background: #e8f7ef;
    border: 1px solid #b9e7cc;
}

.message.error {
    color: #a52834;
    background: #fff0f0;
    border: 1px solid #f1c5c9;
}

.message.info {
    color: #155b8b;
    background: #eaf4fc;
    border: 1px solid #c8e1f5;
}

/* BACK TO LOGIN */

.back {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #edf0f3;
}

.back a {
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.back a:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* ANIMATION */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 480px) {
    body {
        padding: 18px 12px;
    }

    .container {
        padding: 30px 21px;
        border-radius: 15px;
    }

    .container h1 {
        font-size: 23px;
    }

    .container h2 {
        font-size: 21px;
    }

    .description {
        font-size: 13px;
    }

    .form-group input {
        height: 47px;
        font-size: 14px;
    }

    button {
        min-height: 48px;
        font-size: 14px;
    }
}


