/* forget.css - tampilan lupa password mirip login */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(30deg, #000000 0%, #0B192C 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #e2e8f0;
}

/* Card container */
.forget-card {
    background: linear-gradient(
        135deg,
        rgba(11, 25, 44, 0.85),
        rgba(22, 45, 88, 0.7)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 35px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forget-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 170, 255, 0.35);
}

/* Judul */
.forget-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 0;
}

/* Subtext */
.forget-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 22px;
}

/* Form container */
.forget-form {
    margin-bottom: 20px;
}

/* Input container */
.input-container {
    margin-bottom: 18px;
    text-align: left;
}

/* Input label */
.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Input */
.forget-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
}

.forget-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.forget-input:focus {
    border-color: #00aaff;
    background: rgba(255, 255, 255, 0.12);
}

/* Tombol */
.forget-btn {
    width: 100%;
    background: linear-gradient(135deg, #0080ff, #005fcc);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.forget-btn:hover {
    background: linear-gradient(135deg, #3399ff, #0077e6);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 128, 255, 0.45);
}

/* Footer */
.forget-footer {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.forget-footer a {
    color: #00aaff;
    font-weight: 600;
    text-decoration: none;
}

.forget-footer a:hover {
    text-decoration: underline;
}

/* Success message */
.forget-success {
    color: #4ade80;
    font-size: 14px;
    margin-bottom: 18px;
    text-align: center;
    padding: 10px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Error message */
.forget-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 6px;
    text-align: left;
}

/* ================= Responsive ================= */
@media (max-width: 500px) {
    .forget-card {
        padding: 25px 20px; /* tambah padding samping */
        width: 70%;
        max-width: 360px;
    }
    .forget-title {
        font-size: 22px;
    }
    .forget-subtext {
        font-size: 13px;
    }
    .forget-input {
        padding: 12px 14px;
    }
    .forget-btn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        margin-top: 12px;
    }
}
