/* Estilos para Modales de Verificación de Enlaces */

/* Modal base */
.project-modal,
.agent-signup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.modal-body {
    padding: 24px;
}

.modal-body h4 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-body p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Información de contacto */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 16px 0;
}

.contact-info p {
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
}

.contact-info strong {
    color: #007bff;
    font-weight: 600;
}

.contact-info a {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #128c7e;
    text-decoration: underline;
}

/* Formulario de registro de agentes */
.signup-form {
    margin-bottom: 24px;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.signup-form textarea {
    resize: vertical;
    min-height: 80px;
}

.signup-form .btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-form .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Alternativa de contacto */
.contact-alternative {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-alternative p {
    margin-bottom: 8px;
    color: #856404;
    font-size: 14px;
}

.contact-alternative strong {
    color: #6c5700;
}

.contact-alternative a {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
}

.contact-alternative a:hover {
    text-decoration: underline;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
    }
    
    .modal-header {
        padding: 20px 20px 12px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .signup-form input,
    .signup-form select,
    .signup-form textarea {
        padding: 14px 16px;
        font-size: 16px; /* Evita zoom en iOS */
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .modal-header {
        padding: 16px 16px 8px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .contact-info {
        padding: 16px;
    }
}

