/* Base styling */
/* core font-family and weight variables */
:root {
    --font-primary: 'Inter', sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --brand-blue: rgb(0, 120, 212);
}


/* Apply base font */
body {
    font-family: var(--font-primary), serif;
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: #333;
}

/* Weight-specific elements */
/* Regular (400): body text, paragraphs → already set on body */
p {
    margin-bottom: 1em;
}

/* Medium (500): secondary headings, emphasis */
h2,
.emphasis {
    font-family: var(--font-primary), serif;
    font-weight: var(--fw-medium);
}

/* Bold (700): primary headings, important text */
h1,
.important,
strong {
    font-family: var(--font-primary), serif;
    font-weight: var(--fw-bold);
}


#error-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* make the banner sit on top of everything, including modals */
    z-index: 2000 !important;
}

#success-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000 !important;
}

.modal.show {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* single-line ellipsis */
.text-truncate-lines-1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-truncate-lines-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
}

/* multi-line ellipsis (3 lines here, adjust as you like) */
.text-truncate-lines-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    text-overflow: ellipsis;
}

.payment-button {
    background: linear-gradient(135deg, #f8cdda 0%, #1d2b64 100%);
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.50rem 1.50rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.payment-button:hover {
    /* keep text white */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.payment-button:active {
    /* keep text white */
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

button.payment-button,
button.payment-button:hover,
button.payment-button:active,
button.payment-button:focus {
    color: white !important;
}


/* View transition animations */
.view {
    margin: 0 auto;
    /*padding: 20px;*/
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.view.active {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Make all .container’s stop growing past 1500px */
.container {
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}
/* 2. If you want a little side-padding on small viewports */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 2) Utility class using our primary color */
.text-brand {
    color: var(--brand-blue) !important;
}

footer a,
footer span,
footer p,
footer i,
footer li
{
    color: rgb(156, 163, 175)
}

/*Shadow for cards*/
.hover-shadow {
    transition: box-shadow 0.3s ease-in-out;
}
.hover-shadow:hover {
    /*box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;*/
    box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.12) !important;
}
