/* global-light.css */

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI Semibold', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

a {
    color: #f47721; /* Primary orange */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d96a1b;
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 20px;*/
}

.container-wrapper {
    display: flex;
    flex: 1;
    padding-top: 60px;
}

.content {
    flex: 1;
    padding: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

/* Navigation Bar (Light Mode) */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: #f47721; /* Primary orange */
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-item {
    margin-left: 15px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #f0f0f0;
    color: #f47721; /* Primary orange */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #f47721; /* Primary orange */
    color: white;
    border-color: #f47721;
}

.btn-primary:hover {
    background-color: #d96a1b;
    border-color: #d96a1b;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #4e555b;
}

/* Cards/Boxes */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.card-body {
    padding: 15px;
}

/* Sidebar (Light Mode) */
/* .sidebar rules removed. See sidebar.css for all Sidebar styles. */

/* AI Message Box (Light Mode) */
/* .ai-message-box rules removed. See ai_message_box.css for all AI Message Box styles. */
/*    background-color: #f8f9fa;*/
/*    width: 200px;*/
/*    position: fixed;*/
/*    top: 60px;*/
/*    right: 0;*/
/*    height: calc(100vh - 60px);*/
/*    padding: 20px;*/
/*    border-left: 1px solid #ddd;*/
/*    overflow-y: auto;*/
/*}*/

.ai-message-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

#ai-messages {
    margin-bottom: 10px;
}

#ai-messages p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

#user-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 0.9em;
}

.mt-3 {
    margin-top: 1.5em;
}

@media (max-width: 768px) {
    .content {
        flex: 1;
        min-width: 0;
        padding: 12px;
        margin-left: 0;
        margin-right: 0;
    }
}