html,
body {
    height: 100%;
    margin: 0;
    /* font-family is now set in base.html inline style via Google Fonts */
}

.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease-in-out; /* Added for smooth sidebar toggle */
    padding-top: 72px; /* Offset fixed site header height */
}



main {
    flex-grow: 1;
    /* Stitch design implies main content area might not need container anymore,
       padding is handled by child elements or sections within block content */
}

#main-header {
    transition: transform 0.3s ease-in-out;
}

/* ✅ Header pazūd (kad lietotājs rullē uz leju) */
#main-header.hide {
    transform: translateY(-100%);
}

.card {
    border-radius: 10px;
    /* Stitch uses rounded-lg which is 0.5rem, this is fine */
}

.text-muted {
    color: #6c757d;
    /* Stitch uses #60758a for similar text, can be updated if needed */
}

#password-requirements p {
    font-size: 14px;
    margin: 0;
    color: #333;
    /* Stitch uses #111418 for primary text */
}

.text-end {
    text-align: right;
}

/* Active link styling is now in side_navigation.html's <style> tag */

/* Card styles for configurator */
.config-card {
    border: 2px solid transparent;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.config-card:hover {
    border-color: #a5b4fc;
    /* indigo-300 */
}

.config-card.selected {
    border-color: #6366f1;
    /* indigo-500 */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.config-card img {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.375rem;
}

.config-card .card-name {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

[data-color-picker-input] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: hidden;
    padding: 0;
    border-radius: 9999px;
}

[data-color-picker-input]::-webkit-color-swatch-wrapper {
    padding: 0;
}

[data-color-picker-input]::-webkit-color-swatch,
[data-color-picker-input]::-moz-color-swatch {
    border: none;
    border-radius: 9999px;
}

/* Choice card enhancements */
.js-choice-card {
    transition: transform 0.2s ease-in-out;
}

.js-choice-card .choice-card__visual {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.js-choice-card .choice-card__input:focus-visible+.choice-card__visual {
    outline: 3px solid rgba(14, 165, 233, 0.35);
    outline-offset: 3px;
}

.js-choice-card.is-checked .choice-card__visual {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.js-choice-card .choice-card__indicator {
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.js-choice-card.is-checked .choice-card__indicator {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}

/* Styles for configurator option cards */
.selected-card {
    background-color: #B1B2B533 !important;
    /* Fona krāsa ar 20% caurspīdīgumu */
    border: #B1B2B533;
}

.passive-card {
    opacity: .55;
    filter: grayscale(0.25);
    pointer-events: none;
    /* bloķē klikšķus */
    cursor: not-allowed !important;
    /* ja vēlies, vari arī apmali tonēt: */
    /* border-color: #e5e7eb !important; */
}



.disabled-card {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.js-choice-card[data-choice-card-state="checked"] .choice-card__indicator {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}