﻿.title-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.title-left {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

.back-icon {
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.login-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #666;
}

.password-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.requirement-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.requirement.valid {
    color: #3f7e7f !important;
}

.requirement.valid .requirement-icon {
    color: #3f7e7f !important;
}

.disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.referido-select-wrapper {
    position: relative;
}

.referido-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem !important;
    cursor: pointer;
}

.referido-select-wrapper .input-group-append {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    height: 24px;
    pointer-events: none;
    z-index: 5;
}

/* Error messages */
.validation-error-message {
    display: flex;
    align-items: center;
    background-color: #FF4C4C;
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
}

.validation-error-message .error-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.validation-error-message .close-button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.validation-error-message .close-button:hover {
    opacity: 0.8;
}

.text-danger {
    font-size: 0.85rem;
}

/* Estilos del Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.modal-content {
    background-color: white;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    position: relative;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    margin: 0 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    color: #666;
    font-size: 14px;
    padding: 0 24px;
}

.modal-body h3 {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    margin: 16px 0 8px;
}

.modal-body ul {
    list-style-type: none;
    padding-left: 0;
    margin: 8px 0;
}

.modal-body li {
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
    line-height: 1.4;
}

.modal-body li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

.modal-footer {
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-button {
    background-color: #EF8849;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.2s;
}

.modal-button:hover {
    background-color: #e67a39;
}

/* Media Queries */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        margin: 0 12px;
        max-height: calc(100vh - 24px);
        font-size: 13px;
    }

    .modal-body {
        font-size: 13px;
    }

    .modal-title {
        font-size: 16px;
    }

    .modal-body h3 {
        font-size: 14px;
    }

    .modal-body li {
        padding: 3px 0 3px 14px;
    }

    .modal-button {
        padding: 10px 24px;
        font-size: 13px;
    }

    .validation-error-message {
        padding: 12px;
        font-size: 13px;
    }
}