.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.container > * {
    margin-bottom: 10px;
}

.container > *:last-child {
    margin-bottom: 0;
}

.upload-area {
    border: 3px dashed #2196F3;
    border-radius: 8px;
    padding: 10px 40px;
    text-align: center;
    cursor: pointer;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #E3F2FD;
    margin: 5px 0;
}

.upload-area:hover {
    border-color: #1976D2;
    background-color: #BBDEFB;
    transform: scale(1.02);
}

.upload-area p {
    font-size: 1.2em;
    color: #1565C0;
    font-weight: 500;
    margin: 0;
}

.upload-area.dragover {
    border-color: #1976D2;
    background-color: #BBDEFB;
    transform: scale(1.02);
}

.progress {
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    position: relative;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background-color: #007bff;
    transition: width 0.2s linear;
    will-change: width;
}

.progress-text {
    text-align: center;
    margin-bottom: 5px;
    color: #495057;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.results {
    margin-top: 0;
}

.results h2 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.file-item {
    margin: 10px 0;
}

.file-item button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.file-item button:hover {
    background-color: #0056b3;
}

.error {
    color: #dc3545;
    padding: 10px;
    border: 1px solid #dc3545;
    border-radius: 4px;
    margin: 20px 0;
}

.download-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.download-button:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: white;
}

.privacy-notice {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.privacy-notice p {
    margin: 0;
    color: #2e7d32;
}

.settings-panel {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
}

.settings-panel h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #495057;
}

.help-text {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 5px;
}

.domains-input {
    width: 100%;
    min-height: 60px;
    max-height: 80px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

.domains-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.stats {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    font-size: 0.9em;
}

.stats h3 {
    margin-top: 0;
    color: #495057;
}

.stats h4 {
    margin: 15px 0 10px 0;
    color: #495057;
    font-size: 1.1em;
}

.file-info {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
}

.file-info p {
    margin: 0 0 8px 0;
}

.file-info p:last-child {
    margin-bottom: 4px;
}

.file-list {
    margin: 5px 0 0 20px;
    padding: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5px;
}

.file-list li {
    font-family: monospace;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats ul {
    margin: 0;
    padding-left: 20px;
    columns: 2;
}

.stats li {
    margin: 3px 0;
    color: #495057;
}

.setting-group {
    margin-bottom: 10px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #495057;
}

.number-input {
    width: 150px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.number-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.file-preview {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
}

.selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.selected-file span {
    font-size: 16px;
    color: #495057;
}

.primary-button {
    display: block;
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.primary-button:hover {
    background-color: #0056b3;
}

.secondary-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.secondary-button:hover {
    background-color: #5a6268;
}

.download-status {
    padding-top: 10px;
    margin-bottom: 15px;
}

.download-button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.download-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #45a049;
}

.restart-button {
    padding: 12px 24px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.restart-button:hover {
    background-color: #1976D2;
}

.settings-instructions a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.settings-instructions a:hover {
    text-decoration: underline;
}

.header {
    text-align: center;
    margin-bottom: 10px;
}

h1 {
    margin-top: -15px;
    margin-bottom: 5px;
}

.logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
}

.subheader {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.subheader a {
    color: #0066cc;
    text-decoration: none;
}

.subheader a:hover {
    text-decoration: underline;
}

.app-description {
    text-align: left;
    color: #666;
    font-size: 1.1em;
    margin: -5px 0 10px 0;
    line-height: 1.4;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.footer {
    margin-top: auto;  /* Push footer to bottom */
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    text-align: center;
    font-size: 0.85em;
    color: #6c757d;
}

.footer p {
    margin: 5px 0;
} 