

.upload-main-wrapper {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #232526 100%);
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.upload-main-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(162, 89, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.upload-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 40px;
}

.upload-header {
    text-align: center;
    margin-bottom: 40px;
}

.upload-header h2 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.upload-subtitle {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

.upload-form-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 18px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.file-upload-section {
    margin: 20px 0;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-input-display {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 215, 0, 0.4);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-input-display:hover {
    border-color: rgba(255, 215, 0, 0.7);
    background: rgba(255, 215, 0, 0.08);
    transform: translateY(-2px);
}

.file-input-display.dragover {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
    transform: scale(1.02);
}

.file-input-content {
    pointer-events: none;
}

.file-input-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.file-input-text {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.file-input-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
}

.file-types {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.file-type {
    background: linear-gradient(90deg, #a259ff, #7c3aed);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-item {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-info {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.file-name {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
    word-break: break-word;
}

.file-size {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.remove-btn:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.submit-section {
    text-align: center;
    margin-top: 30px;
}

.upload-btn {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #000000;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.upload-btn:hover {
    background: linear-gradient(90deg, #FFA500, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.upload-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.upload-btn.loading {
    background: linear-gradient(90deg, #a259ff, #7c3aed);
    color: #ffffff;
}

.upload-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
}

.message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .upload-main-wrapper {
        padding: 40px 20px;
    }
    
    .upload-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .upload-header h2 {
        font-size: 2.2rem;
    }
    
    .file-input-display {
        padding: 30px 15px;
        min-height: 160px;
    }
    
    .preview-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .upload-header h2 {
        font-size: 1.8rem;
    }
    
    .file-input-text {
        font-size: 1.1rem;
    }
    
    .upload-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Add these styles to your existing page-upload.css */

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover,
.file-upload-wrapper.drag-over {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.upload-text {
    color: #ffffff;
}

.upload-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.upload-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* File List Styles */
.file-list {
    margin-top: 20px;
    text-align: left;
}

.file-list h4 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.file-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-left: 3px solid #FFD700;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.file-info.error {
    border-left-color: #ff4757;
}

.file-info.warning {
    border-left-color: #ffa502;
}

.file-status {
    font-size: 1.2rem;
}

.file-name {
    flex: 1;
    font-weight: 500;
    color: #ffffff;
}

.file-size {
    font-size: 0.9rem;
    color: #cccccc;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.file-error {
    width: 100%;
    color: #ff4757;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Form Messages */
.upload-success {
    background: linear-gradient(135deg, #2ed573, #1e90ff);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.3);
}

.upload-error {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
}

/* Button Loading State */
.upload-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .file-upload-wrapper {
        padding: 30px 15px;
    }
    
    .upload-icon {
        font-size: 2.5rem;
    }
    
    .file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}