/* Ribbon for -15% discount */
.card-ribbon {
    position: absolute;
    top: -11px;
    right: -3px;
    width: 100px;
    height: 100px;
    overflow: unset;
    z-index: 10;
    background-image: url(../img/ribbon.png);
}

.card-ribbon-content {
    position: absolute;
    display: block;
    width: 120px;
    padding: 10px 0;
    /*background-color: #e11d48;*/
    /* Red */
    color: #fff;
    /*font: 700 13px/1 'Manrope', sans-serif;*/
    text-align: center;
    right: -30px;
    top: 18px;
    transform: rotate(45deg);
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/

}

.hint {
    width: 18px;
    height: 18px;
    border: 1px solid #9ca3af;
    color: #9ca3af;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transition: all 0.3s ease;
    cursor: help;
}

.hint:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hint::before {
    content: "?";
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.hint:hover {
    cursor: pointer;
}

.input-hover {
    transition: all 0.2s ease;
}

.input-hover:hover {
    color: var(--color-primary);
    font-weight: 700;
}

.checkbox-custom {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    color: var(--color-primary);
    cursor: pointer;
}

.install-text p {
    line-height: 1.6;
    padding-bottom: 1.5rem;
}

[x-cloak] {
    display: none !important;
}

.dev {
    border: 2px solid #9f1447 !important;
}

/* Layout component styles (moved from main.php) */

:root {
    --color-primary: #00667D;
    --color-secondary: #f58220;
    --color-accent: #E10025;
    --color-surface: #F9FAFB;
    --color-surface-dark: #EAF2F4;
    --color-header-footer: #B9D1DB;
}

body {
    font-family: 'Manrope', sans-serif;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem; /* rounded-md */
    font-weight: 700; /* font-bold */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-primary:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    filter: brightness(1.1);
}

.btn-secondary:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-secondary);
}

.btn-white {
    background-color: #fff;
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: #f9fafb; /* gray-50 */
}

.btn-white:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #fff;
}

.btn-sm {
    padding: 0.5rem 1rem; /* px-4 py-2 */
    font-size: 0.75rem; /* text-xs */
}

.btn-md {
    padding: 0.75rem 1.5rem; /* px-6 py-3 */
    font-size: 0.875rem; /* text-sm */
}

.btn-lg {
    padding: 1rem 2rem; /* px-8 py-4 */
    font-size: 1rem; /* text-base */
}

.btn-xl {
    padding: 1.25rem 2rem; /* px-8 py-5 */
    font-size: 1.25rem; /* text-xl */
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-outline:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}

.article-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0;
    border: 1px solid #9ca3af; /* gray-400 */
    overflow: hidden;
    transition: box-shadow 0.3s;
}

@media (min-width: 768px) {
    .article-card {
        flex-direction: row;
    }
}

.article-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
}

.article-img {
    width: 100%;
    height: 12rem; /* h-48 */
    background-color: #e5e7eb; /* gray-200 */
    object-fit: cover;
}

@media (min-width: 768px) {
    .article-img {
        width: 30%;
        height: auto;
    }
}

.article-content {
    padding: 1.5rem; /* p-6 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.section-title {
    text-align: center;
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 3rem; /* mb-12 */
    text-transform: uppercase;
    letter-spacing: -0.025em; /* tracking-tight */
    color: #111827; /* text-gray-900 */
}

.card {
    position: relative;
    background-color: #fff;
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
    overflow: unset;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem; /* p-6 */
    gap: 1rem;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 1rem 1.5rem; /* py-4 px-6 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 700; /* font-bold */
    text-transform: uppercase;
    letter-spacing: 0.08em; /* tracking-wide */
    color: #6b7280; /* text-gray-500 */
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn:focus {
    color: var(--color-primary);
    outline: none;
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.capacity-btn {
    padding: 0.5rem 1rem; /* px-4 py-2 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 0.375rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 700; /* font-bold */
    color: #374151; /* text-gray-700 */
    background-color: #fff;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.capacity-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.capacity-btn.active {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.mask-gradient-bottom {
    mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.2) 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.2) 100%);
}

@media (min-width: 768px) {
    .article-content {
        padding: 2rem; /* p-8 */
    }
}

.input-field {
    display: block;
    width: 100%;
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid var(--color-primary); /* border-primary */
    padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
    color: #111827; /* text-gray-900 */
    outline: none;
}

.input-field:focus {
    box-shadow: 0 0 0 2px rgba(0, 102, 125, 0.5); /* ring-2 ring-primary/50 */
}

.input-field::placeholder {
    color: #9ca3af; /* text-gray-400 */
}

@media (min-width: 640px) {
    .input-field {
        font-size: 0.875rem; /* sm:text-sm */
        line-height: 1.5rem; /* sm:leading-6 */
    }
}

.section-title-white {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 2rem; /* mb-8 */
    text-transform: uppercase;
    letter-spacing: -0.025em; /* tracking-tight */
    color: #1f2937; /* text-gray-800 */
}

@media (min-width: 768px) {
    .section-title-white {
        margin-bottom: 3rem; /* md:mb-12 */
    }
}