.submit-page {
    background: #0a0a1a;
    min-height: 80vh;
    padding: 40px 20px;
}

.submit-container {
    max-width: 700px;
    margin: 0 auto;
}

.submit-card {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.submit-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.submit-subtitle {
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label .required {
    color: #ff6b6b;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: #2a2a40;
    border: 2px solid #3a3a50;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0056b3;
    background: #2a2a45;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* Radio buttons para "Cuando" */
.when-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.when-option {
    position: relative;
}

.when-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.when-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #2a2a40;
    border: 2px solid #3a3a50;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.when-option input:checked + label {
    border-color: #0056b3;
    background: rgba(0, 86, 179, 0.2);
}

.when-option label:hover {
    border-color: #4a4a60;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #5a5a70;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.when-option input:checked + label .radio-circle {
    border-color: #0056b3;
    background: #0056b3;
}

.when-option input:checked + label .radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f0ad4e;
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Location */
.location-row {
    display: flex;
    gap: 10px;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #2a2a40;
    border: 2px solid #3a3a50;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.location-btn:hover {
    border-color: #0056b3;
}

.location-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.location-input-wrapper {
    flex: 1;
}

/* File upload */
.upload-area {
    border: 2px dashed #3a3a50;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #0056b3;
    background: rgba(0, 86, 179, 0.1);
}

.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.upload-text {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-hint {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    line-height: 1.5;
}

.upload-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #2a2a40;
    border: 2px solid #3a3a50;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-btn:hover {
    border-color: #0056b3;
}

.file-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.file-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #2a2a40;
}

.file-preview-item img,
.file-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove-file {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-wrapper input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #3a3a50;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkbox-wrapper input:checked + .checkbox-custom {
    background: #0056b3;
    border-color: #0056b3;
}

.checkbox-wrapper input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
}

.checkbox-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.checkbox-text a {
    color: #4da3ff;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-top: 24px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-footer {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.success-title {
    color: #28a745;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #0056b3;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.success-btn:hover {
    background: #004494;
}

/* Error message */
.error-message {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 600px) {
    .submit-card {
        padding: 24px 20px;
    }
    
    .when-options {
        grid-template-columns: 1fr;
    }
    
    .location-row {
        flex-direction: column;
    }
    
    .upload-buttons {
        flex-direction: column;
    }
}
