/* Upload System - Simplified */
.upload-section {
    margin: 20px 0;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* File Preview */
.file-preview {
    margin-top: 15px;
}

.file-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e9ecef;
}

.file-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    flex-shrink: 0;
}

.file-icon i {
    font-size: 24px;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    margin-bottom: 5px;
    word-break: break-word;
    color: #333;
}

.file-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #6c757d;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px;
    }
    
    .file-card {
        padding: 12px;
    }
    
    .file-icon {
        width: 40px;
        height: 40px;
    }
    
    .file-icon i {
        font-size: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .form-control {
        min-height: 44px; /* Apple's recommended touch target size */
    }
    
    .btn-remove {
        min-width: 44px;
        min-height: 44px;
    }
} 