body {
    background-color: #f9fbfb;
    font-family: 'Roboto', sans-serif;
}

.main-container {
    padding-bottom: 2rem;
}

.feature-card {
    min-height: 15vh;
    border: none;
    background-color: #f9fbfb;
}

.jumbo {
    height: 50vh;
}

.feature-card-title {
   text-transform: uppercase;
   letter-spacing: 0.1rem;
   font-family: 'Roboto Mono', monospace;
}

.btn-container {
    width: 100%;
}

.btn {
    border-radius: 0px;
    width: 50%;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

#btn-cot-primary{
    background-color: #e8171f;
    border: 2px solid #e8171f;
}

#btn-cot-primary:hover {
    background-color: #f9fbfb;
    border: 2px solid #e8171f;
    color: #e8171f;
}

#btn-cot-secondary {
    /*background-color: #f9fbfb;*/
    border: 2px solid #6c757d;
}

#btn-cot-secondary:hover {
    background-color: #f9fbfb;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.main-footer {
    background-color: #e8171f;
    color: #f9fbfb;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

.footer-link {
    color: #f9fbfb;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-decoration: none;
}

/* spinner for analysis */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

.overlay-message {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Company Analysis page */
.existing-analysis {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-decoration: none;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    border: 2px solid #e8171f;
    width: 100%;
}

.existing-analysis a {
    text-decoration: none;
    color: #e8171f;
    font-weight: bold;
}

.btn-buy-modal {
    background-color: #e8171f;
    border: 2px solid #e8171f;
    width: 50%;
}

.buy-modal-card {
    text-align: center;
}

.buy-modal-text {
    text-align: center;
    text-transform: uppercase;
}

.checkmark-list {
    list-style: none;
    padding-left: 0;
}

.checkmark-list li::before {
    content: "\2713\0020";
    color: green;
    font-weight: bold;
    margin-right: 8px;
    font-size: 1.5rem;
}

/* Cookie stuff */
#cookieConsentContainer {
    position: fixed;
    left: 50%;
    bottom: 0;
    margin-bottom: 5rem;
    margin-left: -12.5vw; /* half of the width to center it */
    border-radius: 25px;
    width: 25vw;
    background-color: #f1f1f1;
    color: #333;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
}

#cookieConsentContainer p {
    margin: 0;
    margin-top: 1rem;
    margin-top: 1rem;
    padding: 0 20px;
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
}

#cookieConsentButton {
    margin-left: 10px;
    margin-top: 1.5rem;
    padding: 5px 20px;
    background-color: #e8171f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

#cookieConsentButton:hover {
    background-color: #333;
}

#cookieConsentContainer a {
    color: #009688;
    text-decoration: underline;
}

/* Tablet devices (Between 768px and 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    #cookieConsentContainer {
        margin-bottom: 3rem;
        margin-left: -25vw; /* adjust for smaller screens */
        width: 50vw;
    }

    #cookieConsentContainer p {
        margin-top: 0.5rem;
        padding: 0 10px;
    }

    #cookieConsentButton {
        margin-top: 1rem;
        padding: 5px 15px;
    }
}

/* Mobile devices (less than 768px) */
@media (max-width: 767px) {
    #cookieConsentContainer {
        margin-bottom: 3rem;
        margin-left: -35vw; /* adjust for smaller screens */
        width: 70vw;
        border-radius: 15px;
    }

    #cookieConsentContainer p {
        margin-top: 0.5rem;
        padding: 0 5px;
        font-size: 0.9rem;
    }

    #cookieConsentButton {
        margin-top: 1rem;
        padding: 5px 10px;
        font-size: 0.9rem;
    }
}
