@font-face {
    font-family: 'Poppins-Regular';
    src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins;
    background: #f5fefe;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
}

.header {
    background: #01406D;
    padding: 40px 30px;
    text-align: center;
    color: #ffffff;
}

.logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
}

.form-container {
    padding: 40px 30px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 500;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

input[type="password"] {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

input[type="password"]:focus {
    outline: none;
    border-color: #01406D;
    box-shadow: 0 0 0 3px rgba(61, 138, 158, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #01406D;
}

.password-requirements {
    background-color: #f5fefe;
    border-left: 4px solid #FF7A0F;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.password-requirements h4 {
    color: #01406D;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.requirement {
    font-size: 13px;
    color: #555555;
    margin: 6px 0;
    display: flex;
    align-items: center;
}

.requirement::before {
    content: "✓";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #ffffff;
    text-align: center;
    line-height: 18px;
    font-size: 11px;
    margin-right: 10px;
    transition: all 0.3s;
}

.requirement.valid::before {
    background-color: #01B4BA;
}

.error-message {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.error-message.show {
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #01406D;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 138, 158, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.footer {
    text-align: center;
    padding: 20px 30px 30px;
    color: #888888;
    font-size: 13px;
}

.footer a {
    color: #01406D;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

.success-message {
    background-color: #f5fefe;
    border-left: 4px solid #FF7A0F;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.success-message.show {
    display: block;
}

.success-message p {
    color: #2e7d32;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 480px) {
    .form-container {
        padding: 30px 20px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 20px;
    }
}
