/* crear_formador.css - Estilos específicos para crear formador */

.crear-formador-container {
    max-width: 450px;
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-header h1 {
    color: var(--texto-oscuro);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.coordinator-info {
    color: var(--texto-gris);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: var(--verde-medio);
    transition: color 0.3s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--verde-sena);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--texto-gris);
    margin-top: 0.25rem;
    margin-left: 2.5rem;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: var(--verde-sena);
    color: var(--blanco);
}

.btn-primary:hover {
    background: var(--verde-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 57, 0.3);
}

.btn-secondary {
    background: var(--verde-suave);
    color: var(--texto-oscuro);
}

.btn-secondary:hover {
    background: #c2f7d4;
    transform: translateY(-2px);
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    animation: fadeIn 0.5s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.formadores-list {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--verde-suave);
}

.formadores-list h3 {
    color: var(--verde-hover);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.formador-item {
    background: #f8fdf9;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-left: 3px solid var(--verde-medio);
    display: flex;
    align-items: center;
    gap: 10px;
}

.formador-item i {
    color: var(--verde-medio);
}

#messageContainer {
    margin-bottom: 1.5rem;
}

#listaFormadores {
    max-height: 200px;
    overflow-y: auto;
}

@media (max-width: 480px) {
    .crear-formador-container {
        padding: 2rem 1.5rem 1.5rem;
        margin: 10px;
    }
    
    .formadores-list {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
}
/* crear_formador.css - Estilos específicos para crear formador */

.crear-formador-container {
    max-width: 400px;
    padding: 2rem;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h1 {
    color: #2E7D32;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.coordinator-info {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

.form-section {
    margin-bottom: 2rem;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: #2E7D32;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
    margin-left: 2.5rem;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background: #2E7D32;
    color: white;
}

.btn-primary:hover {
    background: #1B5E20;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.btn-secondary:hover {
    background: #C8E6C9;
    transform: translateY(-2px);
}

/* Alertas */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    animation: fadeIn 0.5s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#messageContainer {
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .crear-formador-container {
        padding: 1.5rem;
        margin: 10px;
    }
    
    .card-header h1 {
        font-size: 1.3rem;
    }
}
