:root {
    --theme-color: #0284c7;
    --theme-secondary-color: #14b8a6;

    --theme-hover-color: #0ea5e9;
}

.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;
    margin: 0;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .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: 480px) {
    .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;
    }

    .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;
    }
}

/* 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);
    }
}