﻿.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: rgba(255,255,255,0.7);
}

.spinner {
    width: 3rem;
    height: 3rem;
    color: darkred;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-red {
    text-decoration: none;
    max-width: fit-content;
    background-color: #E71316;
    color: #FFFFFF;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

    .btn-red:hover {
        background-color: #D01013;
    }

.btn-icon-text {
    display: inline-block;
    min-width: 134px;
}

button.btn-red:disabled {
    background-color: #aaa;
    cursor: none;
    min-width: 201px;
    opacity: 0.6;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon-img {
    width: 26px;
    height: 26px;
    margin-left: 8px;
}

h1 {
    font-size: 30px;
    line-height: 33px;
    font-weight: 400;
    color: #222222;
}

h2 {
    font-size: 22px;
    line-height: 33px;
    font-weight: 400;
    color: #222222;
}

h3 {
    font-size: 18px;
    line-height: 33px;
    font-weight: 400;
    color: #222222;
}

p {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #222222;
}

a {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #1E8AE7;
    text-decoration: none;
    transition: color 0.5s ease;
}

    a.link-blue {
        color: #1E8AE7;
    }

    a.download-link {
        font-size: 17px;
        cursor: pointer;
    }

li {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}

button.asset-link {
    color: #1E8AE7;
    border: none;
    background-color: transparent;
    padding: 0;
}

.markdown-content {
    color: #222222;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}

.collapsible {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    padding-top: 0;
    padding-bottom: 0;
}

    .collapsible.expanded {
        max-height: 100%;
        border-top: 1px solid #ddd;
        opacity: 1;
        padding: 10px 10px 0px;
    }

    .collapsible.collapsed {
        max-height: 0;
        opacity: 0;
        padding: 0px 10px 0px;
    }

.markdown-content h1 {
    font-size: 30px;
    line-height: 33px;
    font-weight: 400;
    color: #222222;
}

.markdown-content h2 {
    font-size: 22px;
    line-height: 33px;
    font-weight: 400;
    color: #222222;
}

.markdown-content h3 {
    font-size: 18px;
    line-height: 33px;
    font-weight: 400;
    color: #222222;
}

.markdown-content p {
    font-size: 14px;
    line-height: 22px;
}

.markdown-content a {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #1E8AE7;
    text-decoration: none;
    transition: color 0.5s ease;
}

.markdown-content ul,
.markdown-content ol {
    margin-left: 10px;
}

.markdown-content li {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0.5em;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
        line-height: 30px;
        font-weight: 300;
    }

    h2 {
        font-size: 20px;
        line-height: 30px;
        font-weight: 300;
    }

    h3 {
        font-size: 16px;
        line-height: 30px;
        font-weight: 300;
    }

    .btn-red {
        font-size: 14px;
        line-height: 14px;
    }
}
