:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --primary-color: #ff6600;
    --secondary-color: #333333;
    --accent-color: #0088cc;
    --success-color: #4caf50;
    --error-color: #f44336;
}
body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--secondary-color);
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}
.nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 10px;
}
.nav a:hover {
    text-decoration: underline;
}
.upload-area {
    border: 2px dashed var(--accent-color);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
}
.upload-area:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.file-info {
    margin-bottom: 20px;
}
.btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.btn:hover {
    background-color: #006699;
}
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}
footer a {
    color: var(--accent-color);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Terms Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: var(--secondary-color);
    margin: 50px auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    background: none;
    border: none;
}

.close-button:hover {
    color: var(--primary-color);
}

.terms-section {
    margin-bottom: 20px;
}

.terms-section h1 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.terms-section h2 {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.terms-section ul {
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 8px;
}

/* Loading spinner */
.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: var(--text-color);
    position: relative;
}

.loading-spinner:after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-color);
    margin: 20px auto 0;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Upload success and error states */
.upload-success, .upload-error {
    text-align: center;
    padding: 20px 0;
}

.upload-success p {
    color: var(--success-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.upload-error p {
    color: var(--error-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.file-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 10px;
    margin: 15px 0;
    word-break: break-all;
}

.file-link a {
    color: var(--accent-color);
    text-decoration: none;
}

.file-link a:hover {
    text-decoration: underline;
}

.btn-small {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.btn-small:hover {
    background-color: #006699;
}

/* Upload container and progress bar */
.upload-container {
    margin-bottom: 20px;
}

.upload-progress {
    margin-top: 15px;
}

.progress-bar {
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--accent-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
}

/* Files list styles */
.files-list {
    margin-top: 20px;
    border-top: 1px solid var(--secondary-color);
    padding-top: 15px;
}

.files-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--secondary-color);
}

.files-list-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 18px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary-color);
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.file-item-name {
    flex-grow: 1;
    margin-right: 10px;
    word-break: break-all;
}

.file-item-date {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

.file-item-link {
    color: var(--accent-color);
    text-decoration: none;
}

.file-item-link:hover {
    text-decoration: underline;
}

.file-item-actions {
    display: flex;
    align-items: center;
}

.file-item-action {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    margin-left: 10px;
    font-size: 20px;
}

.file-item-action:hover {
    color: var(--accent-color);
}

/* Stats page styles */
.stats-container {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.stats-container h3 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.2em;
    color: var(--primary-color);
    font-weight: bold;
}

.error {
    color: var(--error-color);
    text-align: center;
    padding: 20px;
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 4px;
}

/* API Documentation Styles */
.api-docs {
    color: var(--text-color);
}

.api-docs h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 10px;
}

.api-docs h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.api-docs p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.code-block, .response-example {
    background-color: #1a1a1a;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
}

.code-block pre, .response-example pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.5;
}

.code-block code, .response-example code {
    color: #00c3e3;
}

.api-notes ul {
    padding-left: 20px;
    margin: 10px 0;
}

.api-notes li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.api-notes code {
    background-color: #1a1a1a;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    color: #00c3e3;
} 