:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #7f8c8d;
    --text-color: #2c3e50;
    --background-color: #f5f6f7;
    --error-color: #c0392b;
    --success-color: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--accent-color);
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    font-family: 'Lato', sans-serif;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 300;
}

.content-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.instructions {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.scanner-container {
    margin: 2rem auto;
    max-width: 500px;
}

#qr-reader {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.upload-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: center;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
    background-color: var(--primary-color);
}

.submit-button {
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.submit-button:disabled {
    background-color: var(--accent-color);
    cursor: not-allowed;
}

.status-message {
    text-align: center;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.status-message.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.status-message.error {
    background-color: rgba(192, 57, 43, 0.1);
    color: var(--error-color);
}

@media (max-width: 600px) {
    .main-container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .custom-file-upload,
    .submit-button {
        width: 100%;
    }
} 