/* General Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --border-radius: 4px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7fa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

header h1 {
    margin-bottom: 10px;
}

/* Main Content */
main {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    margin-bottom: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

.help-text {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-input-container {
    position: relative;
}

.file-input-label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--light-color);
    border: 2px dashed #ccc;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-label:hover {
    border-color: var(--primary-color);
}

.file-input-label i {
    margin-right: 10px;
    font-size: 20px;
    color: var(--primary-color);
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    resize: vertical;
    font-family: monospace;
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.btn i {
    margin-right: 8px;
}

/* Messages */
.messages {
    margin-bottom: 20px;
}

.message {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
}

.message i {
    margin-right: 10px;
    font-size: 18px;
}

.message.error {
    background-color: #fde8e8;
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

.message.success {
    background-color: #e8f8ef;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

/* Info Section */
.info-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.info-section h2 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.info-section h3 {
    margin: 20px 0 10px;
    color: var(--dark-color);
}

.info-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info-section pre {
    background-color: #f5f7fa;
    padding: 15px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin-bottom: 20px;
}

.info-section code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header, main {
        padding: 15px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
} 