/* Main Application Styles */
body {
    background-color: #121212;
    color: #cccccc;
    font-family: Consolas, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

h1 {
    color: #ffffff;
    font-size: 20px;
}

.week-title {
    font-size: 18px;
    font-weight: normal;
}

p {
    color: #888888;
    font-size: 14px;
}

/* Table Styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
    background-color: #1e1e1e;
    border: 1px dashed #ff79c6;
}

th, td {
    border: 1px dashed #ff79c6;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #222222;
    color: #ffffff;
}

tr:nth-child(even) {
    background-color: #181818;
}

/* Week Display Styles */
.previous, .next {
    font-size: 0.85em;
    opacity: 0.6;
    max-width: 500px;
}

.current {
    font-size: 1em;
    opacity: 1;
    max-width: 600px;
}

.current table {
    box-shadow: 0 0 10px rgba(255, 121, 198, 0.3);
}

.extra-task {
    color: #ff79c6;
    font-style: italic;
    margin-left: 5px;
}

/* Quote Container */
.quote-container {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    background-color: #1e1e1e;
    border: 1px dashed #ff79c6;
    text-align: center;
    font-size: 0.9em;
    opacity: 0.7;
}

.quote-text {
    color: #cccccc;
    font-style: italic;
}

.quote-author {
    color: #ff79c6;
    margin-top: 5px;
    font-size: 0.8em;
}

/* Task Assignment Container */
.task-container {
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    background-color: #1e1e1e;
    border: 1px dashed #ff79c6;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 121, 198, 0.3);
    box-sizing: border-box;
}

.task-input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.task-input {
    background-color: #222222;
    border: 1px solid #ff79c6;
    color: #ffffff;
    font-family: Consolas, monospace;
    padding: 10px;
    flex: 1;
    min-width: 200px;
    height: 40px;
    box-sizing: border-box;
}

.task-button {
    background-color: #ff79c6;
    border: none;
    color: #ffffff;
    font-family: Consolas, monospace;
    padding: 0 20px;
    font-size: 16px;
    cursor: pointer;
    height: 40px;
    transition: background-color 0.2s;
}

.task-button:hover {
    background-color: #d960a0;
}

.task-button:active {
    background-color: #bf4a89;
}

.mode-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.mode-button {
    flex: 1;
    background-color: #222222;
    border: 1px solid #ff79c6;
    color: #ffffff;
    font-family: Consolas, monospace;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    height: 40px;
    transition: background-color 0.2s;
    margin: 0;
}

.mode-button:hover {
    background-color: #444444;
}

.mode-button:active {
    background-color: #666666;
}

.mode-button.active {
    background-color: #ff79c6;
    color: #ffffff;
}

.random-task-result {
    color: #ff79c6;
    font-size: 1.4em;
    margin-top: 15px;
    font-weight: bold;
    word-break: break-word;
}

/* Debug Tools Styles */
.debug-tools {
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    background-color: #1e1e1e;
    border: 1px dashed #ff79c6;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 121, 198, 0.3);
    display: none;
    box-sizing: border-box;
}

.debug-header {
    color: #ff79c6;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.debug-controls {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.debug-btn {
    background-color: #ff79c6;
    border: none;
    color: #ffffff;
    font-family: Consolas, monospace;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 80px;
    height: 36px;
}

.debug-btn:hover {
    background-color: #d960a0;
}

.debug-btn:active {
    background-color: #bf4a89;
}

.debug-week-info {
    color: #ffffff;
    font-weight: bold;
    min-width: 120px;
    font-size: 14px;
}

.debug-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ff79c6;
    text-align: left;
}

.debug-seed-info {
    color: #ff79c6;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
    font-family: Consolas, monospace;
}

.debug-stats {
    color: #cccccc;
    font-size: 11px;
    line-height: 1.4;
    height: 200px;
    overflow-y: auto;
    background-color: #222222;
    padding: 10px;
    border: 1px dashed #ff79c6;
    width: 100%;
    box-sizing: border-box;
}

.debug-stats strong {
    color: #ff79c6;
}

/* Make debug tools responsive */
@media (max-width: 600px) {
    .debug-controls {
        flex-direction: column;
        gap: 5px;
    }
    
    .debug-btn {
        min-width: 60px;
        padding: 6px 10px;
        font-size: 11px;
        height: 32px;
    }
    
    .debug-week-info {
        font-size: 12px;
        min-width: 100px;
    }
}
