/* /ssd2/arcingtime/Trader/static/css/stylesheet.css */
body {
    margin: 0;
    padding-top: 50px;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3100;
    background: linear-gradient(135deg, #00cccc, #40e0d0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    padding: 0 10px !important;
    height: 50px;
}

.site-nav.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.site-nav .nav-tabs {
    border-bottom: none;
    margin: 0 auto;
    padding: 0 !important;
    display: flex;
    max-width: 1200px;
    height: 100%;
}

.site-nav .nav-link {
    color: #000080;
    font-weight: bold;
    padding: 0 8px !important;
    font-size: 16px !important;
    border-radius: 8px; /* Consistent radius */
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    line-height: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.site-nav .nav-link:hover {
    background-color: #708090; /* Slate gray for hover */
    color: #000080; /* Keep navy text */
    border: 2px solid #ff69b4; /* Hot-pink border */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: scale(0.95); /* Slightly smaller */
}

.site-nav .nav-link.active {
    background-color: #2f4f4f !important; /* Darker gray (dark slate) for active */
    color: #ffffff !important; /* White text */
    border: 2px solid #ff69b4 !important; /* Hot-pink border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                0 0 8px rgba(255, 105, 180, 0.5) !important; /* Subtle pink glow */
    font-weight: 900 !important;
    transform: scale(0.85) !important; /* Smaller when selected */
    position: relative;
    z-index: 1;
}

.site-nav .dropdown-menu {
    background-color: #40e0d0;
    border: 1px solid #00cccc;
    z-index: 3200;
    font-size: 16px !important;
    margin-top: 0;
    top: 50px;
    padding: 0 !important;
    position: absolute;
    min-width: 160px;
    border-radius: 8px;
}

.site-nav .dropdown-menu-end {
    right: 0;
    left: auto;
}

.site-nav .dropdown-item {
    color: #000080;
    padding: 2px 8px !important;
    font-size: 16px !important;
    width: 100%;
    border-radius: 4px;
}

.site-nav .dropdown-item:hover {
    background-color: #708090; /* Slate gray for dropdown hover */
    color: #000080; /* Navy text */
}

.site-nav .login-btn {
    background-color: #708090; /* Slate gray for login */
    color: #fff;
    padding: 0 8px !important;
    border-radius: 8px;
    line-height: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 16px !important;
}

a {
    text-decoration: none !important;
}


.bi-chat {
    color: #000;  /* Default color */
    transition: color 0.3s, box-shadow 0.3s;
}
.bi-chat.chat-unread {
    color: #dc3545;  /* Red for unread */
    box-shadow: 0 0 8px rgba(108, 21, 30, 0.8);  /* Shadow effect */
}

/* Add to the end of stylesheet.css */
.dokoddo-container {
    max-width: 800px;
    margin: 60px auto 20px; /* Offset for fixed nav */
    padding: 10px; /* Reduced from 20px */
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dokoddo-container h1 {
    color: #000080;
    font-size: 24px;
    margin-bottom: 10px; /* Reduced from 20px */
}

.dokoddo-container p {
    color: #2f4f4f;
    font-size: 14px; /* Slightly smaller */
    margin-bottom: 10px; /* Reduced space */
}

.precepts-list {
    list-style-type: none;
    padding: 0;
}

.precepts-list li {
    background-color: #708090;
    color: #ffffff;
    padding: 6px 8px; /* Reduced from 10px to 6px vertically */
    margin: 2px 0; /* Reduced from 5px to 2px */
    border-radius: 8px;
    border: 1px solid #ff69b4;
    font-size: 14px; /* Smaller text */
    transition: transform 0.3s ease;
}

.precepts-list li:hover {
    transform: scale(0.98);
}

.card.purple-shadow {
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4) !important;
    transition: box-shadow 0.3s ease-in-out;
}

.card.purple-shadow:hover {
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.6) !important;
}

.purple-shadow-inner {
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.2) !important;
    transition: box-shadow 0.3s ease-in-out;
}

.purple-shadow-inner:hover {
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3) !important;
}