
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;

    background:
        radial-gradient(circle at top left, #d4efff, transparent 40%),
        radial-gradient(circle at bottom right, #c5e5ff, transparent 40%),
        linear-gradient(135deg, #edf8ff, #dceeff);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;
    overflow-x: hidden;
}

/* Back to Login */

.back-home {
    position: absolute;
    top: 30px;
    left: 35px;

    color: #10264a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.back-home:hover {
    color: #159dd0;
    transform: translateX(-4px);
}

/* Main Container */

.forgot-container {
    position: relative;
    width: 100%;
    max-width: 480px;

    padding: 45px 45px 35px;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;

    box-shadow: 0 20px 60px rgba(39, 103, 150, 0.15);

    overflow: hidden;
    animation: appear 0.8s ease;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative Circles */

.forgot-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(21, 157, 208, 0.08);
    pointer-events: none;
}

.decoration-one {
    width: 180px;
    height: 180px;
    top: -90px;
    right: -70px;
}

.decoration-two {
    width: 130px;
    height: 130px;
    bottom: -65px;
    left: -60px;
}

/* Content */

.forgot-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo {
    display: block;
    width: 260px;
    max-width: 95%;
    height: auto;
    object-fit: contain;

    margin: 0 auto 30px;

    background: transparent;
    border: none;
    padding: 0;
}

/* Mail Icon */

.icon-circle {
    width: 65px;
    height: 65px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg, #159dd0, #0877b8);

    color: white;
    font-size: 27px;

    box-shadow: 0 8px 20px rgba(21, 157, 208, 0.25);
}

/* Heading */

h1 {
    color: #10264a;
    font-size: 29px;
    margin-bottom: 12px;
}

.description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;

    margin-bottom: 30px;
}

/* Input */

.input-group {
    text-align: left;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #243b5a;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 9px;
}

.input-group input {
    width: 100%;
    padding: 15px;

    border: 1px solid #d5e5f1;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.8);

    font-size: 14px;
    color: #10264a;

    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #159dd0;
    box-shadow: 0 0 0 3px rgba(21, 157, 208, 0.12);
}

.input-group input::placeholder {
    color: #a0aec0;
}

/* Reset Button */

.reset-btn {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, #159dd0, #0877b8);

    color: white;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s;
}

.reset-btn span {
    margin-left: 8px;
    font-size: 18px;
}

.reset-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(21, 157, 208, 0.25);
}

/* Message */

.message {
    min-height: 20px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.5;
}

/* Login Link */

.login-link {
    display: inline-block;
    margin-top: 20px;

    color: #159dd0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.login-link:hover {
    color: #10264a;
}

/* Footer */

.footer-text {
    margin-top: 35px;
    padding-top: 20px;

    border-top: 1px solid rgba(16, 38, 74, 0.08);

    color: #8a9aaf;
    font-size: 11px;
}

/* Responsive */

@media (max-width: 600px) {

    body {
        padding: 80px 15px 25px;
    }

    .back-home {
        top: 25px;
        left: 20px;
    }

    .forgot-container {
        padding: 35px 25px 25px;
    }

    .logo {
        width: 210px;
    }

    h1 {
        font-size: 25px;
    }

    .description {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
