/* Brand Colors */
:root {
    --primary-teal: #63d7b4;
    --primary-orange: #fb5801;
    --primary-navy: #023048;
    --bg-dark: #011a28;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--theme-text, var(--primary-navy)) 0%, var(--theme-bg, var(--bg-dark)) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.upload-card {
    background: var(--theme-bg-secondary, white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: var(--theme-text, var(--primary-navy));
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: var(--theme-text-secondary, #666);
    font-size: 1.1rem;
}

/* Flash Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Upload Form */
.upload-form {
    margin-bottom: 30px;
}

.file-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    border: 3px dashed var(--theme-accent, var(--primary-teal));
    border-radius: 15px;
    background: rgba(99, 215, 180, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    background: rgba(99, 215, 180, 0.15);
    border-color: var(--theme-button, var(--primary-orange));
    transform: translateY(-2px);
}

.file-label.drag-over {
    background: rgba(99, 215, 180, 0.25);
    border-color: var(--theme-button, var(--primary-orange));
    transform: scale(1.02);
}

.upload-icon {
    color: var(--theme-accent, var(--primary-teal));
    margin-bottom: 15px;
}

.file-text {
    color: var(--theme-text, var(--primary-navy));
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.file-hint {
    color: var(--theme-text-secondary, #666);
    font-size: 0.9rem;
}

/* File List */
.file-list {
    margin-bottom: 20px;
}

.selected-files {
    background: rgba(99, 215, 180, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--theme-accent, var(--primary-teal));
}

.selected-files strong {
    color: var(--theme-text, var(--primary-navy));
    display: block;
    margin-bottom: 10px;
}

.selected-files ul {
    list-style: none;
    padding: 0;
}

.selected-files li {
    color: #555;
    padding: 5px 0;
    font-size: 0.95rem;
}

.selected-files li:before {
    content: "📷 ";
    margin-right: 8px;
}

/* Buttons */
.btn-upload {
    width: 100%;
    padding: 16px;
    background: var(--theme-button, var(--primary-orange));
    color: var(--theme-button-text, white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
}

.btn-upload:active {
    transform: translateY(0);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 215, 180, 0.1) 0%, rgba(2, 48, 72, 0.05) 100%);
    border-radius: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-accent, var(--primary-teal));
    line-height: 1;
}

.stat-label {
    color: var(--theme-text-secondary, #666);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Actions */
.actions {
    text-align: center;
}

.btn-display {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary-navy);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 48, 72, 0.2);
}

.btn-display:hover {
    background: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 215, 180, 0.4);
}

/* Responsive Design */
@media (max-width: 600px) {
    .upload-card {
        padding: 25px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .file-label {
        padding: 40px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }
}
