body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

.description {
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}
.tab {
    padding: 0.75rem 1.5rem;
    background: #e9ecef;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-right: -1px;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    outline: none;
    transition: background 0.2s, color 0.2s;
}
.tab.active {
    background: #fff;
    color: #4a90e2;
    font-weight: bold;
    border-bottom: 1px solid #fff;
}
.tab:not(.active):hover {
    background: #f5f7fa;
    color: #357abd;
}
.tab-content {
    display: block;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.file-upload-label {
    display: block;
    padding: 2rem;
    border: 2px dashed #ccc;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #4a90e2;
    background-color: #f8faff;
}

.upload-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-btn:hover:not(:disabled) {
    background-color: #357abd;
}

.upload-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.progress-container {
    margin-top: 1rem;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 30px;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

#progressText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: bold;
}

.status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    display: none;
}

.status.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.status.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}
