:root {
    --theme-color: #0284c7;
    --theme-secondary-color: #14b8a6;
    --theme-hover-color: #0ea5e9;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/material-icons.woff2) format('woff2');
}
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/roboto-mono-400.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    src: url(/assets/fonts/source-sans-pro-300.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/source-sans-pro-400.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: url(/assets/fonts/source-sans-pro-600.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}

.cover img {
    width: 300px;
}

/* Custom button styles for coverpage */
.cover .buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.cover .buttons a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 5px; /* Add margin for when buttons wrap */
    background-color: transparent; /* Outlined button */
    color: var(--theme-color); /* Text color matches border for outlined style */
    border: 1px solid var(--theme-color);
}

.cover .buttons a:hover {
    background-color: #e0f2fe; /* Light background on hover */
    border-color: var(--theme-hover-color);
}

.cover .buttons a:active {
    background-color: rgba(99, 102, 241, 0.2); /* Slightly darker background when active */
}

.cover .buttons a span {
    display: inline-block; /* Ensure the span behaves properly */
}

/* Feature list styles */
.cover .features-list {
    background: #f0f9ffaa;
    border-radius: 4px;
    list-style-type: none;
    padding: 0;
    margin: 30px auto;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 6px;
}

.cover .feature-list-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
}

.cover .feature-icon {
    margin-right: 15px;
    font-size: 28px;
    color: var(--theme-secondary-color);
    flex-shrink: 0;
}

.cover .feature-text {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

footer {
    display: flex;
    justify-content: center;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .cover img {
        width: 250px;
    }

    .cover .buttons {
        gap: 15px;
    }

    .cover .buttons a {
        padding: 9px 18px;
        font-size: 0.95rem;
    }

    .cover .features-list {
        max-width: 90%;
        grid-gap: 5px;
        grid-template-columns: repeat(2, 1fr);
    }

    .cover .feature-list-item {
        padding: 6px 10px;
    }

    .cover .feature-icon {
        font-size: 24px;
        margin-right: 10px;
    }

    .cover .feature-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .cover .features-list {
        max-width: 95%;
        grid-gap: 4px;
        grid-template-columns: 1fr;
    }

    .cover .feature-list-item {
        padding: 5px 8px;
    }

    .cover .feature-icon {
        font-size: 20px;
        margin-right: 8px;
    }

    .cover .feature-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .cover img {
        width: 200px;
    }

    .cover .buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cover .buttons a {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 80%;
        max-width: 200px;
        text-align: center;
    }
}

/* Additional styles for the sidebar */
.sidebar .app-name-link img {
    max-width: 50%;
}
.sidebar-nav > ul > li > p strong {
    font-size: 15px;
}

/* Sidebar Toggle */
.sidebar-toggle {
    cursor: pointer;
}

body .sidebar-toggle {
    background: transparent;
    top: 1.5rem;
    left: calc(300px + 1.5rem);
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    transition: left 0.25s ease-out;
}

body .sidebar-toggle span {
    background-color: var(--theme-color);
    height: 0.2rem;
    width: 1.5rem;
    position: absolute;
    left: 0;
    margin: 0;
    transform-origin: 0;
    border-radius: 1px;
}

body.close .sidebar-toggle {
    transition: left 0.25s ease-out;
    width: 1.5rem;
    height: 1.5rem;
    left: 1.5rem;
}

body.close .sidebar-toggle span {
    transform-origin: center;
}

body .sidebar-toggle span:nth-child(1) {
    top: 0;
}
body .sidebar-toggle span:nth-child(2) {
    top: 0.5rem;
}
body .sidebar-toggle span:nth-child(3) {
    top: 1rem;
}

@media screen and (max-width: 768px) {
    body .sidebar-toggle {
        left: 1rem;
    }

    body.close .sidebar-toggle {
        left: calc(300px + 1.5rem);
    }
}