/* Variables */
:root {
    --primary-color: #008080;
    --primary-hover: #006666;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-start: #008080;
    --gradient-end: #00b3b3;
    --success-color: #28a745;
    --success-hover: #218838;
}

/* Estilos base compartidos con login */
body {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Contenedor principal */
.register-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Logo */
.img-logo {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.img-logo img {
    max-width: 120px;
    height: auto;
    margin: 0 auto;
}

/* Tarjeta de registro */
.register-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 900px;
    transition: transform 0.3s ease;
    animation: slideIn 0.6s ease-out;
}

.register-card:hover {
    transform: translateY(-5px);
}

/* Secciones del formulario */
.form-section {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-section:first-of-type {
    margin-top: 0.5rem;
}

.form-section:hover {
    box-shadow: 0 5px 15px var(--shadow-color);
}

.form-section h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Campos del formulario */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary-color);
}

.inputs {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
    width: 100%;
}

.inputs:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
    outline: none;
}

.form-select.inputs {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23008080' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea.inputs {
    min-height: 100px;
    resize: vertical;
}

/* Botón de registro */
.btn-register {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-hover) 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--success-hover) 0%, var(--success-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    color: white;
}

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

/* Link de login */
.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.login-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Transición entre páginas */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .register-card {
        max-width: 100%;
        margin: 1rem;
    }
}

@media (max-width: 768px) {
    .register-container {
        padding: 1rem;
    }

    .register-card {
        padding: 1.5rem;
    }

    .img-logo {
        margin-bottom: 1.5rem;
    }

    .img-logo img {
        max-width: 100px;
    }

    .form-section {
        padding: 1.25rem;
    }

    .form-section h3 {
        font-size: 1.25rem;
    }

    .inputs {
        padding: 0.6rem 0.8rem;
    }
}

/* Estilos para mensajes de error */
.alertify-notifier {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.ajs-message {
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.ajs-error {
    background: #fff !important;
    color: #dc3545 !important;
    border-left: 4px solid #dc3545 !important;
}

.ajs-success {
    background: #fff !important;
    color: #28a745 !important;
    border-left: 4px solid #28a745 !important;
} 