/* Definitions Page Specific 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 for the page */
.container {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
}

/* Header link to go back to the main page */
.back-link {
    color: #ff79c6;
    font-size: 16px;
    text-decoration: underline;
    text-align: center;
    display: block;
    margin-bottom: 30px;
}

/* Title Styles */
h1 {
    color: #ffffff;
    font-size: 20px;
}

h2 {
    font-size: 18px;
    font-weight: normal;
}

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

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

/* Main Container for Definitions */
.definitions-container {
    border: 1px dashed #ff79c6;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    background-color: #1e1e1e;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(255, 121, 198, 0.3);
}

/* Task Definition Sections */
.task-definition {
    background-color: #222222;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px dashed #ff79c6;
    border-radius: 5px;
}

.task-definition h3 {
    color: #ff79c6;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ff79c6;
    padding-bottom: 5px;
}

.task-definition p {
    color: #cccccc;
    font-size: 14px;
    margin: 10px 0;
}

.task-definition ul {
    color: #cccccc;
    padding-left: 20px;
    margin: 10px 0;
}

.task-definition li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.task-definition strong {
    color: #ff79c6;
}

/* Mode Definition Section */
.mode-definition {
    background-color: #1a1a1a;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px dashed #ff79c6;
    border-radius: 5px;
}

.mode-definition h3 {
    color: #ff79c6;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #ff79c6;
    padding-bottom: 5px;
}

.sub-definition {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #222222;
    border-radius: 3px;
}

.sub-definition h4 {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.sub-definition p {
    color: #cccccc;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* General Guidelines Section */
.general-guidelines {
    background-color: #1a1a1a;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px dashed #ff79c6;
    border-radius: 5px;
}

.general-guidelines h3 {
    color: #ff79c6;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #ff79c6;
    padding-bottom: 5px;
}

.general-guidelines ul {
    color: #cccccc;
    padding-left: 20px;
    margin: 10px 0;
}

.general-guidelines li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.general-guidelines strong {
    color: #ff79c6;
}

/* Legacy definition support */
.definition {
    background-color: #1e1e1e;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px dashed #ff79c6;
}

.definition h3 {
    margin-top: 0;
}

.definition p {
    margin: 0;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.definition p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ff79c6;
    margin-left: -10px;
}

/* Quote Section */
.quote-container {
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
    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;
}

/* 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;
}
