
/* Global Typography & Background  */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}

p.desc {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.5;
}

/* top Navigation Bar*/
.tmj-navbar {
    background-color: #333;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tmj-navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.tmj-navbar a:hover {
    background-color: #ddd;
    color: #333;
}

.tmj-navbar a.active {
    background-color: #0056b3;
    color: white;
}

/* Unified Layout Containrs */
.section {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* UNIFIED BUTTONS & INPUTS */
button,
.demo-btn {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-bottom: 10px;
}

button:hover,
.demo-btn:hover {
    background-color: #004494;
}

input[type="text"],
input[type="password"],
select {
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

select {
    min-width: 250px;
}

/* Unified Code Previews */
.code-preview {
    background: #2d2d2d;
    color: #ccc;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 13px;
    margin-top: 15px;
    overflow-x: auto;
    line-height: 1.5;
}

.tag {
    color: #e06c75;
}

.attr {
    color: #d19a66;
}

.val {
    color: #98c379;
}

.keyword {
    color: #cc99cd;
}

.string {
    color: #7ec699;
}

/* Accordion Global Styles */
div[accordian='true'] {
    border: 1px solid #ccc; 
    border-radius: 5px; 
    overflow: hidden;
    width: 100%;
    background: white; 
}
div[accordian='true'] h1,
div[accordian='true'] h2,
div[accordian='true'] h3,
div[accordian='true'] h4,
div[accordian='true'] h5,
div[accordian='true'] h6 {
    background-color: #0056b3;
    color: white;
    margin: 0;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #004494;
    font-size: 16px;
}

div[accordian='true'] h1:hover,
div[accordian='true'] h2:hover,
div[accordian='true'] h3:hover,
div[accordian='true'] h4:hover,
div[accordian='true'] h5:hover,
div[accordian='true'] h6:hover {
    background-color: #004494;
}

div[accordian='true']>div {
    padding: 15px;
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

/* Page-Specific Elements */

/* Index Page Specifics */
.index-header {
    background-color: #0056b3;
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.index-header h1 {
    margin: 0;
    font-size: 3em;
    letter-spacing: 1px;
    color: white;
}

.index-header p {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.9;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.quick-start {
    background: #2d2d2d;
    color: #ccc;
    padding: 20px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
    overflow-x: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.quick-start h2 {
    color: #fff;
    margin-top: 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.5em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: #0056b3;
}

.card h2 {
    margin-top: 0;
    color: #0056b3;
    font-size: 1.5em;
}

.card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.qa-section { 
    max-width: 800px; 
    margin: 0 auto;
}
.qa-section h2 { 
    text-align: center; 
    margin-bottom: 25px; 
}

footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    color: #777;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
}

/* AJAX Page Specifics */
.result-box {
    margin-top: 15px;
    padding: 12px;
    background: #f1f8ff;
    border: 1px solid #c8e1ff;
    border-radius: 4px;
    min-height: 20px;
    color: #0366d6;
    font-family: monospace;
}

.error {
    color: #d73a49;
    font-weight: bold;
}

.success {
    color: #28a745;
    font-weight: bold;
}

/* Modal Page Specifics */
.login-form input {
    width: 90%;
}

.login-form button {
    width: 95%;
    margin-top: 5px;
}

#hookStatus {
    margin-top: 10px;
    font-weight: bold;
    color: #d73a49;
}

footer { 
    text-align: center; 
    padding: 20px; 
    margin-top: 50px; 
    background-color: #333; /* Matches the dark navbar */
    color: #f2f2f2;         /* White text for sharp contrast */
    font-size: 15px; 
    font-weight: 500; 
    border-radius: 6px; 
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); 
}