/* ERRORES */
.error-text {
    color: #dc3545;
    font-size: 12px;
}

/* OPCIONES MEETING */
.meeting-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* MEETING OPTIONS MEJORADO */
.meeting-option {
    border: 1px solid #ddd;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fafafa;
}

.meeting-option:hover {
    transform: translateY(-2px);
    border-color: #0d6efd;
}

.meeting-option:has(input:checked) {
    border: 2px solid #0d6efd;
    background: #eef4ff;
    box-shadow: 0 5px 15px rgba(13,110,253,0.15);
}

.meeting-option input {
    display: none;
}

.meeting-option i {
    font-size: 18px;
}

/* SELECCIONADO */
.meeting-option input:checked + i,
.meeting-option input:checked + i + span {
    color: #0d6efd;
}

.meeting-option:has(input:checked) {
    border: 2px solid #0d6efd;
    background: #f0f6ff;
}

/* MENSAJE FINAL */
.modal-result {
    text-align: center;
    padding: 30px;
}

.modal-result i {
    font-size: 40px;
    margin-bottom: 15px;
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: none;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
    font-size: 20px;
}

.success { color: #28a745; }
.error { color: #dc3545; }
.warning { color: #ffc107; }


/*formulario*/
/* CONTENEDOR FORM */
#formAgendar {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
}

/* TITULOS */
#formAgendar h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

#formAgendar small {
    font-size: 13px;
}

/* LABELS */
.form-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* INPUT BASE */
.form-control, .form-select {
    border: 1px solid #ddd;
    transition: all 0.25s ease;
    padding-left: 45px !important;  /* espacio para icono izquierdo */
    /*padding-right: 15px;*/
    border-radius: 10px;
    height: 45px;
    background: #fafafa;
}

.form-control:focus, .form-select:focus {
    background: #fff;
}

/* HOVER SUAVE */
.form-control:hover {
    border-color: #bbb;
}

/* SEPARACIÓN */
#formAgendar .row > div {
    margin-bottom: 15px;
}

/* BOTÓN MÁS COMERCIAL */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,110,253,0.4);
}

/* FIX CRÍTICO PARA BOOTSTRAP */
.input-wrapper {
    position: relative;
    width: 100%;
}

/* FORZAR PADDING (bootstrap lo pisa) */
.input-wrapper .form-control {
    padding-left: 45px !important;
}

/* ICONO */
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 5;
    pointer-events: none;
}

/* FOCUS */
.input-focus {
    border: 2px solid #0d6efd !important;
    box-shadow: 0 0 10px rgba(13,110,253,0.4);
}

/* ERROR */
.input-error {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5;
}

/* SUCCESS */
.input-success {
    border: 2px solid #28a745 !important;
    background-color: #f6fff8;
}

/* ICONOS */
.icon-error {
    color: #dc3545;
}

.icon-success {
    color: #28a745;
}

/* MENSAJE FINAL */
.mensaje-final {
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.4s ease;
}

.mensaje-final i {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 20px;
}

.mensaje-final h4 {
    font-weight: bold;
    margin-bottom: 15px;
}

.mensaje-final p {
    font-size: 16px;
    color: #555;
}

/* ANIMACIÓN */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
