/* ========== BASE ========== */
body {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    background-image: url();
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

strong {
    font-weight: 600;
}

/* ========== TYPOGRAPHY ========== */
h1 {
    color: #1e70bf;
    text-align: center;
    font-size: 2.5em;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
    letter-spacing: -0.5px;
}

h2 {
    color: #1e70bf; 
    font-size: 1.8em;
    font-weight: 600;
    margin: 25px 0 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.3px;
}

h3 {
    color: #3399ff;
    font-size: 1.6em;
    margin: 25px 0 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.2px;
}

h4 {
    color: #66c2ff;
    font-size: 1.4em;
    margin: 25px 0 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.1px;
}

h5 img {
    margin-left: 12px;
    vertical-align: middle;
}

/* ========== TEXT ELEMENTS ========== */
p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

ul, ol {
    margin: 15px 0 20px;
    padding-left: 25px;
    line-height: 1.6;
}

.note {
    margin: 25px 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 5px solid #0078d4;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ========== LINKS ========== */
a {
    color: #03a1fd;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    color: #000;
    border-bottom-color: currentColor;
}

a:focus {
    outline: 2px dashed #40afef;
    outline-offset: 2px;
}

ul a, ol a {
    font-size: 1em;
    line-height: 1.6;
    color: #03a1fd;
}

/* ========== CARDS ========== */
.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e70bf;
}

.card-content {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background: #1e70bf;
    border-radius: 10px;
    border: 2px solid #f8f9fa;
}

::-webkit-scrollbar-thumb:hover {
    background: #1668b3;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== IMAGES ========== */
.col-md-9 img {
    max-width: 85%;
    display: inline-block;
    margin: 25px 0 35px 0;
    padding: 8px;
    background-color: #f5faff;
    border: 1px solid #cce5ff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.col-md-9 img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ========== FOOTER ========== */
footer {
    background-color: #43abeb;
    color: #000;
    text-align: center;
    padding: 0;
}

.copyright:before {
    content: "\00a9";
    margin-right: 5px;
}

/* ========== HOMEPAGE LAYOUT FIXES ========== */
body.homepage > div.container > div.row > div.col-md-3 {
    display: none;
}

body.homepage > div.container > div.row > div.col-md-9 {
    margin-left: 0;
    flex: 0 0 100%;
}

body.homepage {
    font-size: large;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ========== NAVIGATION ========== */
a[rel="next"],
a[rel="prev"] {
    display: none;
}

/* ========== FOOTER STYLES ========== */
footer a[href*="mkdocs.org"] {
    color: #000 !important;
}

footer p {
    margin-bottom: 0 !important;
}

/* ========== SEARCH ========== */
a.nav-link[data-bs-target="#mkdocs_search_modal"] {
    display: none !important;
}

/* ========== DASHBOARD COMPONENTS ========== */
/* div[style*="border:1px solid #ddd"] {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

div[style*="border:1px solid #ddd"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1e70bf !important;
}

div[style*="border:1px solid #ddd"] a {
    font-size: 1.2em;
    color: #1e70bf;
    text-decoration: none !important;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

div[style*="border:1px solid #ddd"] a:hover {
    color: #1668b3;
}

div[style*="border:1px solid #ddd"] p {
    color: #555;
    margin: 0.5rem 0 0 0;
    font-size: 1.05em;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

div[style*="border:1px solid #ddd"] strong {
    font-weight: 600;
    font-size: 1.1em;
}

/* Make the entire card a clickable link */
/* div[style*="border:1px solid #ddd"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

div[style*="border:1px solid #ddd"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

div[style*="border:1px solid #ddd"]:hover::after {
    background: rgba(30, 112, 191, 0.03);
}   */
