* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover {
    color: #ffdd40;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn i {
    margin-right: 8px;
}

.btn-login {
    background-color: white;
    color: #2575fc;
    margin-right: 10px;
}

.btn-login:hover {
    background-color: #f1f1f1;
}

.btn-register {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-register:hover {
    background-color: white;
    color: #2575fc;
}

/* Main Content */
.password-recovery-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.recovery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.recovery-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.recovery-header {
    text-align: center;
    margin-bottom: 30px;
}

.recovery-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.recovery-icon i {
    font-size: 32px;
    color: white;
}

.recovery-header h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.recovery-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Form Styles */
.recovery-form {
    width: 100%;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #666;
    z-index: 2;
}

.input-with-icon input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-with-icon input:focus {
    border-color: #2575fc;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
    outline: none;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(37, 117, 252, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: #2575fc;
    border: 1px solid #2575fc;
    padding: 12px 25px;
}

.btn-outline:hover {
    background: #2575fc;
    color: white;
    transform: translateY(-2px);
}

/* Recovery Links */
.recovery-links {
    text-align: center;
    margin-top: 20px;
}

.back-to-login {
    color: #2575fc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-to-login:hover {
    color: #6a11cb;
    text-decoration: underline;
}

/* Recovery Steps */
.recovery-steps {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
}

.recovery-steps h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 16px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Recovery Info */
.recovery-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 40px;
    color: #2575fc;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.support-link {
    color: #2575fc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.support-link:hover {
    color: #6a11cb;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.modal-icon.success {
    background: #e6f7e6;
    color: #28a745;
}

.modal h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
}

.modal p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-note {
    font-size: 14px;
    color: #999;
    margin-top: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ddd;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .recovery-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .recovery-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        margin: 15px 0;
    }

    .recovery-card {
        padding: 30px 25px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .info-card {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .recovery-card {
        padding: 25px 20px;
    }

    .recovery-header h1 {
        font-size: 24px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .steps {
        gap: 15px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
.password-fields {
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.btn-back-to-email {
    margin-right: 10px;
    background: #6c757d;
    color: white;
    border: none;
}

.btn-back-to-email:hover {
    background: #5a6268;
    color: white;
}

.success-message-global {
    z-index: 1001;
}