.tds-file-upload-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tds-file-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.tds-file-input-label {
    display: block;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tds-file-input-label:hover {
    background: #e9e9e9;
    border-color: #999;
}

.tds-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.tds-file-name {
    display: none;
    margin-top: 10px;
    padding: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.tds-file-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tds-file-submit:hover {
    background: #005177;
}

.tds-file-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.tds-status-message {
    display: none;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.tds-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.tds-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.tds-spinner {
    display: none;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para el mensaje de tipo de archivo no permitido */
.tds-file-type-error {
    color: #721c24;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Estilos para los campos de archivo específicos */
.tds-file-input-wrapper.emergency-plan .tds-file-input-label::before {
    content: "Plan de Emergencia";
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.tds-file-input-wrapper.payment-proof .tds-file-input-label::before {
    content: "Comprobante de Pago";
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.tds-file-input-wrapper.commander-letter .tds-file-input-label::before {
    content: "Carta al Comandante";
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Estilos para los mensajes de ayuda */
.tds-file-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
} 