/* rl-journal.css - Styles extracted from others_010.html for ResontoLogical Journal */
/* Australian English spellings and RL-Lingua theme */

/* Root Variables */
:root {
    --primary: #2E8B57; /* Australian Green */
    --secondary: #9370DB; /* Soft purple */
    --accent: #8B0000; /* Dark red */
    --text: #333333; /* Main text */
    --light-bg: #F5F6F5; /* Light background */
    --calm: #00FF00; /* RL-Lingua calm state */
    --urgent: #FF0000; /* RL-Lingua urgent state */
}

/* Base Body Styles */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1, h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    font-weight: 600;
}

/* Highlight Blocks */
.highlight {
    background-color: #E6F7FF;
    padding: 5px;
    border-left: 4px solid var(--primary);
}

/* Quote Styles */
.quote {
    font-style: italic;
    color: #5D3FD3;
    background: #F8F8FF;
    margin: 10px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.table th {
    background-color: var(--primary);
    color: white;
}

/* Roadmap and Steps */
.roadmap {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.step {
    padding: 10px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    transition: all 0.3s;
}
.step:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Toolkit Details */
.toolkit details {
    margin: 10px 0;
}
.toolkit summary {
    cursor: pointer;
    color: var(--primary);
}

/* Print Styles */
@media print {
    body { font-size: 11pt; color: black; background: white; }
    a::after { content: " (" attr(href) ")"; }
}

/* Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
section {
    animation: fadeIn 0.6s ease-out;
}

/* Intent Questions Section */
.intent-questions {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.intent-questions label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    color: var(--primary);
}
.intent-questions select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Journal Entry and Related Intents */
.journal-entry, .related-intents {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.journal-entry h3, .related-intents h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}
.journal-entry p, .related-intents p {
    margin: 10px 0;
    line-height: 1.6;
}
.journal-entry ul, .related-intents ul {
    list-style-type: disc;
    padding-left: 20px;
}
.journal-entry li, .related-intents li {
    margin-bottom: 8px;
}

/* Error Styles */
.error {
    color: var(--accent);
    font-style: italic;
}

/* Related Journals */
.related-journals {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.related-journals h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}
.related-journals ul {
    list-style-type: disc;
    padding-left: 20px;
}
.related-journals li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    margin-top: 20px;
    text-align: center;
}
footer p {
    margin: 10px 0;
    color: #5a2e77;
}
footer a {
    text-decoration: none;
    color: #5a2e77;
}
footer a:hover {
    text-decoration: underline;
}

/* Image Styles */
img {
    display: block;
    max-width: 400px;
    height: auto;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
/* Intent Images */
.intent-image {
    max-width: 400px;
    max-height: 300px;
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* RL-Lingua Effects */
.calm {
    border-left: 4px solid var(--calm);
    background-color: rgba(0, 255, 0, 0.1);
}
.urgent {
    border-left: 4px solid var(--urgent);
    background-color: rgba(255, 0, 0, 0.1);
}

/* Feedback Box */
.feedback-box {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}
.feedback-box.active {
    display: block;
}
.feedback-input {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .table {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .table th, .table td {
        font-size: 0.9em;
        padding: 6px;
    }
}