
/* Base styles */
:root {
    --primary-color: #767F5F;
    --secondary-color: #34a853;
    --accent-color: #fbbc05;
    --danger-color: #ea4335;
    --background-color: #f8f9fa;
    --card-color: #ffffff;
    --text-color: #202124;
    --text-light: #5f6368;
    --border-color: #dadce0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Header styles */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.logo {
    margin-bottom: 1rem;
}

.logo img {
    height: 80px;
}

h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Main content */
main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
    }
}

/* Info panel */
.info-panel {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.info-panel ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info-panel li {
    margin-bottom: 0.5rem;
}

.highlight {
    background-color: rgba(251, 188, 5, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

/* Upload section */
.upload-section {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

#drop-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

#drop-area.highlight {
    border-color: var(--primary-color);
    background-color: rgba(26, 115, 232, 0.05);
}

.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="file"] {
    display: none;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0d5bbb;
}

#file-list {
    width: 100%;
    margin: 1.5rem 0;
    text-align: left;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(26, 115, 232, 0.05);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.file-name {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
}

.file-size {
    color: var(--text-light);
    margin-right: 1rem;
}

.remove-file {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.5rem;
}

.primary-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
}

.primary-button:hover {
    background-color: #2d9249;
}

/* Progress bar */
.progress-container {
    width: 100%;
    background-color: var(--border-color);
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

#progress-bar {
    height: 8px;
    background-color: var(--secondary-color);
    width: 0;
    transition: width 0.3s ease;
}

#progress-area {
    margin: 1.5rem 0;
}

#progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hidden {
    display: none;
}

/* Success message */
.success-message {
    background-color: rgba(52, 168, 83, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-icon {
    background-color: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
    