/* RESPONSYWNOŚĆ */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background-color: #f7f3ef; /* Beżowe tło */
    color: #2e2e2e;
    font-family: 'Segoe UI', sans-serif;
}

/* NAGŁÓWKI */
h1, h2, h3 {
    /* color: #6d4c41; /* Ciemnobrązowy */
    color: #301f00;
}
p {
    color: black;
}

/* LINKI */
a {
    color: #6d4c41;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* PRZYCISKI */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .btn:focus,
    .btn:active:focus,
    .btn-link.nav-link:focus,
    .form-control:focus,
    .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #a1887f;
    }

.btn-primary {
    background-color: #a1887f;
    border-color: #a1887f;
}

    .btn-primary:hover {
        background-color: #8d6e63;
        border-color: #8d6e63;
    }

.btn-outline-primary {
    color: #6d4c41;
    border-color: #6d4c41;
}

    .btn-outline-primary:hover {
        background-color: #6d4c41;
        color: white;
    }

/* FORMULARZE */
.form-control {
    border-radius: 10px;
    border: 1px solid #d7ccc8;
    background-color: #fffaf5;
    padding: 0.5rem 0.75rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

    .form-control:focus {
        border-color: #a1887f;
        box-shadow: 0 0 0 0.2rem rgba(161,136,127,0.25);
    }

.form-check-input {
    width: 2.2em;
    height: 1.2em;
    border-radius: 1em;
    background-color: #ccc;
    border: 1px solid #ccc;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #a1887f;
        border-color: #a1887f;
    }

/* PLACEHOLDERY */
.form-floating > .form-control::placeholder,
.form-floating > .form-control-plaintext::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control:focus::placeholder,
.form-floating > .form-control-plaintext:focus::placeholder {
    text-align: start;
}

/* TABELA */
.table {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .table th {
        background-color: #eaddcf;
        color: #4e342e;
        font-weight: 600;
        border: none;
    }

    .table td, .table th {
        border: none;
        padding: 0.75rem;
    }

tr.highlight-row > td {
    background-color: #dcefe4;
}
/* KARTY / BLOKI */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background-color: white;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control.rounded {
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
}

.select-with-icon {
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg fill='%236d4c41' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0.75rem center;
    background-size: 1em;
    padding-right: 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .select-with-icon:hover {
        background-color: #f0e6dc;
        cursor: pointer;
    }

    .select-with-icon:focus {
        border-color: #a1887f;
        box-shadow: 0 0 0 0.2rem rgba(161, 136, 127, 0.25);
        outline: none;
    }

.guest-tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* odstęp między kafelkami */
}

.guest-tile {
    flex: 1 0 300px;
    max-width: 320px;
}

.background-image {
    width: 100vw;
    margin-left: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    top: -40px;
}

    .background-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle, rgba(247, 243, 239, 0.5) 60%,
        rgba(247, 243, 239, 1) 100%
        );
        z-index: 0;
    }

    .background-image > .container {
        position: relative;
        z-index: 1;
        color: #000;
    }
