/* Formulario Básico de Eventos - Usuario - Diseño Tipo LUMA */

.basic-mode-container {
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #111827;
}

.basic-mode-header {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
}

.basic-mode-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.03em;
}

.basic-mode-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.basic-form-content {
    padding: 0 2rem 1rem;
}

.image-section {
    margin-bottom: 2rem;
}

.basic-image-upload {
    position: relative;
    width: 100%;
    /* Horizontal aspect ratio */
    aspect-ratio: 16/9;
    height: auto;
    min-height: 200px;
    border-radius: 20px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px dashed transparent;
}

.basic-image-upload:hover {
    background: #e5e7eb;
    transform: scale(0.99);
}

.basic-image-upload.has-image {
    background: transparent;
    border: none;
    transform: none;
}

.basic-image-placeholder {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    color: #6b7280;
    pointer-events: none;
    z-index: 10;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.icon-circle i {
    font-size: 1.5rem;
    color: #111827;
}

.basic-image-text span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.125rem;
}

.basic-image-text small {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.basic-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-remove-image {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-remove-image:hover {
    background: #ffffff;
    transform: scale(1.05);
    color: #ef4444;
}

.basic-form-section {
    margin-bottom: 2rem;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

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



.basic-form-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4b5563;
    font-size: 0.875rem;
}

.basic-form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 0.125rem;
    font-size: 1.125rem;
    line-height: 1;
}

.basic-form-label i {
    color: #9ca3af;
    font-size: 1.125rem;
}

.basic-form-input,
.basic-form-select,
.basic-form-textarea,
.basic-select-button {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 400;
    background: #f3f4f6;
    color: #000000;
    transition: all 0.25s ease;
    font-family: inherit;
}

.basic-select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.basic-select-button:hover {
    background: #e5e7eb;
}

.basic-select-button:active {
    background: #d1d5db;
}

.basic-select-button span {
    flex: 1;
    color: #000000;
}

.basic-select-button i {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.basic-form-input::placeholder,
.basic-form-textarea::placeholder {
    color: #9ca3af;
}

.basic-form-input:hover,
.basic-form-select:hover,
.basic-form-textarea:hover {
    background: #e5e7eb;
}

.basic-form-input:focus,
.basic-form-select:focus,
.basic-form-textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.basic-form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.basic-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.basic-form-row {
    display: flex;
    flex-direction: column;
}

.basic-advanced-section {
    padding: 1.5rem 2rem 2.5rem;
    text-align: center;
}

.btn-advanced-mode {
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-advanced-mode:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

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

/* Responsive */
@media (max-width: 640px) {
    .basic-mode-header {
        padding: 2rem 1rem 1.5rem;
    }
    
    .basic-mode-header h3 {
        font-size: 1.5rem;
    }
    
    .basic-mode-header p {
        /* Un line clamping por si acaso, aunque sea corto */
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .basic-form-content {
        padding: 0 1.5rem 1rem;
    }
    

    
    .basic-image-upload {
        aspect-ratio: 16/9;
        border-radius: 16px;
    }
    
    .basic-form-row {
        gap: 1.25rem;
    }
    
    .basic-advanced-section {
        padding: 1rem 1.5rem 2rem;
    }
}
