/* Estilos para el registro de constructora */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.registro-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.registro-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

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

.registro-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    text-align: center;
}

.registro-header .logo .logo-viive {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin:0px 0px 0px 44px;
}
.registro-header .logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.registro-header .logo p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.registro-header .aviso-un-solo-registro {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.4;
}

.registro-header .aviso-un-solo-registro a {
    color: #fff;
    text-decoration: underline;
}

.documentos-registro {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.documentos-registro > label {
    font-size: 1rem;
}

.descripcion-documentos {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px !important;
}

.documentos-fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.documento-item label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.documento-item input[type="file"] {
    padding: 8px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .documentos-fila {
        grid-template-columns: 1fr;
    }
}

.registro-body {
    padding: 40px;
}

.registro-form {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 8px;
    color: #667eea;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.registro-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.registro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.registro-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.registro-btn i {
    margin-right: 10px;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

.registro-btn:disabled .loading-spinner {
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.registro-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.registro-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.registro-divider span {
    background: white;
    padding: 0 20px;
    color: #666;
    font-size: 0.9rem;
}

.social-registro {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-social {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-social:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-social i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-google:hover {
    border-color: #db4437;
    color: #db4437;
}

.btn-facebook:hover {
    border-color: #3b5998;
    color: #3b5998;
}

.registro-footer {
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    border-top: 1px solid #e1e5e9;
}

.registro-footer p {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}

.registro-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive */
@media (max-width: 600px) {
    .registro-body {
        padding: 30px 20px;
    }
    
    .registro-header {
        padding: 20px;
    }
    
    .registro-header .logo h1 {
        font-size: 2rem;
    }
    
    .social-registro {
        flex-direction: column;
    }
}

/* Animaciones para mensajes */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
