/* assets/wedding-upload.css */

body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.wedding-upload-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.5;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.wedding-upload-header {
    text-align: center;
    margin-bottom: 30px;
}

.wedding-upload-header h2 {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #333;
    font-weight: 400;
}

.wedding-upload-header p {
    font-size: 1em;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.wedding-upload-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.wedding-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
    margin: 20px 0;
}

.wedding-upload-area:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.wedding-upload-area.dragover {
    border-color: #007bff;
    background: #e6f3ff;
}

.wedding-upload-icon {
    font-size: 2.5em;
    color: #999;
    margin-bottom: 15px;
}

.wedding-upload-text h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 400;
}

.wedding-upload-text p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.wedding-file-input {
    display: none;
}

.wedding-upload-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wedding-upload-btn:hover {
    background: #0056b3;
}

.wedding-file-info {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.wedding-filename {
    flex-grow: 1;
    color: #333;
    font-weight: 500;
    font-size: 0.9em;
}

.wedding-filesize {
    color: #6c757d;
    font-size: 0.85em;
    margin-right: 12px;
}

.wedding-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 500;
}

.wedding-remove-btn:hover {
    background: #c82333;
}

.wedding-guest-info {
    margin-bottom: 24px;
}

.wedding-guest-info input, 
.wedding-guest-info textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    margin-bottom: 15px;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
    background-color: white;
}

.wedding-guest-info input:focus, 
.wedding-guest-info textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.wedding-guest-info textarea {
    resize: vertical;
    min-height: 80px;
}

.wedding-submit-btn {
    background: #495057;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: block;
    margin: 30px auto 0;
    font-weight: 400;
    width: 100%;
}

.wedding-submit-btn:hover:not(:disabled) {
    background: #343a40;
}

.wedding-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.wedding-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0;
    text-align: center;
    font-size: 0.95em;
}

.wedding-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wedding-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wedding-file-requirements {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 0.9em;
}

.wedding-file-requirements h4 {
    color: #495057;
    margin-bottom: 8px;
    font-size: 1em;
    font-weight: 500;
}

.wedding-file-requirements ul {
    color: #6c757d;
    padding-left: 20px;
    margin: 0;
}

.wedding-file-requirements li {
    margin-bottom: 3px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .wedding-upload-container {
        padding: 20px 15px;
    }
    
    .wedding-upload-section {
        padding: 25px 20px;
    }
    
    .wedding-upload-area {
        padding: 30px 15px;
    }
    
    .wedding-upload-header h2 {
        font-size: 1.3em;
    }
    
    .wedding-upload-header p {
        font-size: 0.95em;
    }
    
    .wedding-file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .wedding-filesize {
        margin-right: 0;
    }
    
    .wedding-submit-btn {
        padding: 14px 32px;
        font-size: 1em;
    }
}

/* Focus styles for accessibility */
.wedding-upload-btn:focus,
.wedding-submit-btn:focus,
.wedding-remove-btn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}