/* =========================================================
   INTERN FORGOT PASSWORD
   MSU INTERNSHIP MONITORING SYSTEM THEME
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    min-height: 100vh;

    background: linear-gradient(
        135deg,
        #f7f8fa 0%,
        #f1f2f5 100%
    );

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    position: relative;
    overflow: hidden;
}

body::before {
    content: "";

    position: fixed;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background: rgba(128, 0, 0, 0.045);

    top: -150px;
    left: -120px;

    pointer-events: none;
}

body::after {
    content: "";

    position: fixed;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(128, 0, 0, 0.035);

    bottom: -210px;
    right: -150px;

    pointer-events: none;
}

.box {
    width: 100%;
    max-width: 430px;

    background: #ffffff;

    padding: 28px 30px 25px;

    border-radius: 18px;

    border: 1px solid rgba(128, 0, 0, 0.12);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.04);

    text-align: center;

    position: relative;
    z-index: 1;
}

.box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: #800000;

    border-radius: 18px 18px 0 0;
}

.logo {
    width: 78px;
    height: 78px;

    object-fit: contain;

    display: block;

    margin: 0 auto 13px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08);
}

h1 {
    color: #800000;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.3;

    margin-bottom: 8px;
}

p {
    color: #666666;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 18px;
}

.error-message {
    width: 100%;

    padding: 10px 12px;

    margin-bottom: 15px;

    background: #fdeaea;

    border: 1px solid #f3c2c2;

    border-radius: 8px;

    color: #b42318;

    font-size: 12px;

    line-height: 1.4;

    text-align: left;
}

input[type="email"] {
    width: 100%;

    height: 42px;

    padding: 0 12px;

    background: #ffffff;

    border: 1px solid #d5d7db;

    border-radius: 8px;

    color: #222222;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

input[type="email"]::placeholder {
    color: #999999;
}

input[type="email"]:focus {
    border-color: #800000;

    box-shadow:
        0 0 0 3px rgba(128, 0, 0, 0.08);
}

button {
    width: 100%;

    height: 43px;

    margin-top: 1px;

    background: #800000;

    color: #ffffff;

    border: none;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

button:hover {
    background: #680000;

    box-shadow:
        0 5px 12px rgba(128, 0, 0, 0.18);
}

button:active {
    transform: translateY(1px);
}

a {
    display: inline-block;

    margin-top: 16px;

    color: #800000;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}

a:hover {
    color: #680000;

    text-decoration: underline;
}

@media (max-width: 430px) {

    body {
        padding: 15px;
    }

    .box {
        padding: 27px 24px 23px;

        border-radius: 17px;
    }

    .logo {
        width: 72px;
        height: 72px;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 12px;
    }
}

@media (max-width: 350px) {

    .box {
        padding: 25px 20px 21px;
    }

    .logo {
        width: 68px;
        height: 68px;
    }

    h1 {
        font-size: 19px;
    }
}