/* ------------------------------------------------------------------------- */
/* Terms navigation */

.c-terms-navigation {
    background-color: rgba(50, 50, 50, 0.5);
    border-radius: 5px;
    padding: 5px 20px;
    margin: 20px 0;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.c-terms-navigation p {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(235, 235, 235);
}

.c-terms-nav-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.c-terms-nav-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(60, 60, 60, 0.7);
    color: rgb(255, 255, 255);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
    border: 1px solid rgba(100, 100, 100, 0.3);
}

.c-terms-nav-link:hover {
    background-color: rgba(80, 80, 80, 0.9);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

#3d-terms, #drone-terms {
    scroll-margin-top: 30px;
}

@media (max-width: 768px) {
    .c-terms-nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .c-terms-nav-link {
        width: 100%;
        text-align: center;
    }
}

/* ------------------------------------------------------------------------- */
/* Policies styling */

.c-policy-terms-popup-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.c-policy-terms-popup {
    padding: 20px;
    max-width: 1000px;
    max-height: 75vh;
    background-color: rgb(25, 25, 25);
    border-radius: 5px;
    border: solid 3px rgba(0, 0, 0);
    overflow: auto;
}
.c-policy-terms-popup h1, 
.c-policy-terms-popup h2, 
.c-policy-terms-popup h3 {
    color: #ffffff;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}
.c-policy-terms-popup h1 {
    font-size: 26px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 5px;
}
.c-policy-terms-popup h2 {
    font-size: 22px;
    text-decoration: underline;
}
.c-policy-terms-popup h3 {
    font-size: 20px;
    font-style: italic;
}
.c-policy-terms-popup p {
    font-size: 18px;
    line-height: 1.6;
    color: rgb(218, 218, 218);
    margin-bottom: 15px;
}
.c-policy-terms-popup ul {
    padding-left: 20px;
    color: rgb(218, 218, 218);
}
.c-policy-terms-popup li {
    margin-bottom: 5px;
}
/* Scrollbar */
.c-policy-terms-popup::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.c-policy-terms-popup::-webkit-scrollbar-track {
    background: rgb(40, 40, 40);
}
.c-policy-terms-popup::-webkit-scrollbar-thumb {
    background: rgb(100, 100, 100);
    border-radius: 4px;
}
.c-policy-terms-popup::-webkit-scrollbar-thumb:hover {
    background: rgb(150, 150, 150);
}
.c-policy-terms-popup {
    scrollbar-color: rgb(100, 100, 100) rgb(40, 40, 40);
    scrollbar-width: thin;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
.c-policy-terms-popup-fade-in {
    animation: fadeIn 0.25s ease-in forwards;
}
.c-policy-terms-popup-fade-out {
    animation: fadeOut 0.25s ease-out forwards;
}

.c-policy-terms-popup-close-button {
    min-width: 200px;
    min-height: 25px;
    font-size: 20px;
    border-radius: 5px;
    color: rgb(218, 218, 218);
    background-color: rgb(25, 25, 25);
    border: solid 1px rgb(25, 25, 25);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: block;
    margin: 20px auto 0 auto;
}
.c-policy-terms-popup-close-button:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(45, 45, 45);
    box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.6);
}
.c-policy-terms-popup-close-button:active {
    background-color: rgb(25, 25, 25);
}

/* ------------------------------------------------------------------------- */
/* Policy and Terms links */

.policy-links-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.policy-link {
    margin-top: 5px;
    color: rgba(255, 255, 255);
}

.policy-link:hover {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------------------- */
/* Order Terms styling */

.order-terms {
    display: flex;
    align-items: center;
}

.order-terms-label {
    margin-left: 8px;
    font-size: 16px;
    color: rgb(218, 218, 218);
}
.order-terms-label a {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}
.order-terms-label a:hover {
    color: rgb(200, 200, 200);
}

/* ------------------------------------------------------------------------- */
/* Altcha widget */

.altcha-wgt {
    min-width: 220px;
}