/* Upload Page Specific Styles */

.upload-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #3B4C6B 0%, #AFC4D8 100%);
    color: white;
    text-align: center;
}

.upload-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.upload-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Instructions Section */
.upload-instructions {
    padding: 80px 0;
    background: white;
}

.instructions-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.instructions-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #3B4C6B;
}

.instructions-content > p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #2A2E35;
    line-height: 1.6;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.instruction-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.instruction-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B4C6B 0%, #AFC4D8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.instruction-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #3B4C6B;
}

.instruction-content p {
    color: #2A2E35;
    opacity: 0.8;
    line-height: 1.6;
}

/* Photo Examples */
.photo-examples {
    background: linear-gradient(135deg, #F9F8F6 0%, rgba(175, 196, 216, 0.1) 100%);
    padding: 40px;
    border-radius: 20px;
    position: sticky;
    top: 100px;
}

.photo-examples h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #3B4C6B;
    text-align: center;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.example-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.example-image {
    text-align: center;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.good .example-image {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.bad .example-image {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.example-image i {
    font-size: 40px;
}

.example-image span {
    font-weight: 600;
    font-size: 18px;
}

.example-card ul {
    list-style: none;
    padding: 0;
}

.example-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #2A2E35;
}

.example-card li:last-child {
    border-bottom: none;
}

.good li::before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
}

.bad li::before {
    content: "✗ ";
    color: #e74c3c;
    font-weight: bold;
}

/* Upload Form Section */
.upload-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F3DCE2 0%, rgba(199, 175, 195, 0.3) 100%);
}

.upload-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.upload-form-container h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #3B4C6B;
    text-align: center;
}

.upload-form-container > p {
    text-align: center;
    margin-bottom: 40px;
    color: #2A2E35;
    opacity: 0.8;
    line-height: 1.6;
}

.upload-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3B4C6B;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(59, 76, 107, 0.1);
}

.customer-info,
.upload-section,
.additional-info,
.privacy-section {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3B4C6B;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(59, 76, 107, 0.2);
    border-radius: 10px;
    font-size: 16px;
    color: #2A2E35;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B4C6B;
}

/* Drop Zone */
.drop-zone {
    border: 3px dashed #AFC4D8;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #F9F8F6 0%, rgba(175, 196, 216, 0.05) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: #3B4C6B;
    background: linear-gradient(135deg, #F9F8F6 0%, rgba(59, 76, 107, 0.05) 100%);
    transform: translateY(-2px);
}

.drop-zone-content i {
    font-size: 48px;
    color: #AFC4D8;
    margin-bottom: 20px;
    display: block;
}

.drop-zone-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #3B4C6B;
}

.drop-zone-content p {
    color: #2A2E35;
    opacity: 0.7;
    line-height: 1.5;
}

/* File List */
.file-list {
    display: grid;
    gap: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(175, 196, 216, 0.1);
    border-radius: 10px;
    border-left: 4px solid #3B4C6B;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B4C6B 0%, #AFC4D8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #3B4C6B;
    margin-bottom: 3px;
}

.file-size {
    font-size: 14px;
    color: #2A2E35;
    opacity: 0.7;
}

.file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.file-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* Privacy Section */
.privacy-section {
    background: linear-gradient(135deg, #F9F8F6 0%, rgba(175, 196, 216, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(175, 196, 216, 0.3);
}

.privacy-info {
    display: flex;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

.privacy-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.privacy-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #3B4C6B;
}

.privacy-text p {
    color: #2A2E35;
    opacity: 0.8;
    line-height: 1.5;
    font-size: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0 !important;
}

.checkbox-group input[type="checkbox"] {
    width: auto !important;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0 !important;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group a {
    color: #3B4C6B;
    text-decoration: underline;
}

/* Submit Section */
.submit-section {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(59, 76, 107, 0.1);
}

.upload-btn {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    min-width: 200px;
}

.upload-btn i {
    margin-right: 10px;
}

.upload-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Upload Progress */
.upload-progress {
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(175, 196, 216, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3B4C6B 0%, #AFC4D8 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #3B4C6B;
    font-weight: 500;
}

/* Support Section */
.upload-support {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.support-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #3B4C6B;
}

.support-content > p {
    font-size: 18px;
    margin-bottom: 50px;
    color: #2A2E35;
    opacity: 0.8;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.support-option {
    padding: 40px 30px;
    background: linear-gradient(135deg, #F9F8F6 0%, rgba(175, 196, 216, 0.1) 100%);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.support-option i {
    font-size: 48px;
    color: #3B4C6B;
    margin-bottom: 20px;
}

.support-option h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #3B4C6B;
}

.support-option p {
    margin-bottom: 25px;
    color: #2A2E35;
    opacity: 0.8;
}

/* Success/Error Messages */
.upload-success,
.upload-error {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.upload-success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

.upload-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.upload-success i,
.upload-error i {
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .photo-examples {
        position: static;
    }
}

@media (max-width: 768px) {
    .upload-hero {
        padding: 100px 0 50px;
    }
    
    .upload-header h1 {
        font-size: 28px;
    }
    
    .upload-form-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .drop-zone {
        padding: 40px 20px;
    }
    
    .drop-zone-content i {
        font-size: 36px;
    }
    
    .drop-zone-content h4 {
        font-size: 18px;
    }
    
    .instruction-item {
        flex-direction: column;
        text-align: center;
    }
    
    .examples-grid {
        gap: 15px;
    }
    
    .example-card {
        padding: 20px;
    }
    
    .support-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .upload-hero {
        padding: 80px 0 40px;
    }
    
    .upload-instructions,
    .upload-form-section,
    .upload-support {
        padding: 60px 0;
    }
    
    .upload-form-container h2 {
        font-size: 24px;
    }
    
    .upload-form h3 {
        font-size: 20px;
    }
    
    .instruction-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .support-option {
        padding: 30px 20px;
    }
    
    .support-option i {
        font-size: 36px;
    }
}

/* File Validation States */
.file-item.valid {
    background: rgba(39, 174, 96, 0.1);
    border-left-color: #27ae60;
}

.file-item.invalid {
    background: rgba(231, 76, 60, 0.1);
    border-left-color: #e74c3c;
}

.file-item.invalid .file-name::after {
    content: " - Ungültiges Format";
    color: #e74c3c;
    font-weight: normal;
    font-size: 14px;
}

/* Loading States */
.uploading .drop-zone {
    pointer-events: none;
    opacity: 0.6;
}

.uploading .upload-btn {
    background: rgba(59, 76, 107, 0.6);
    cursor: not-allowed;
}

/* Drag and Drop States */
.drop-zone.drag-active {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.drop-zone.drag-active .drop-zone-content {
    color: #27ae60;
}

.drop-zone.drag-active i {
    color: #27ae60;
    animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
} 