﻿html {
  font-size: 14px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fbf9f4;
    color: #173d3c;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


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

/* A .btn-success színét a sabada-theme.css adja (zöld #198754).
   A korábbi kék felülírás itt szándékosan törölve. */

footer {
    background-color: #063938;
    color: rgba(255, 255, 255, .85);
}

/*h1, h3, p {
    color: #4a4a8a;
}*/

.custom-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.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 #258cfb;
}

.fc-event-title {
    white-space: normal !important; /* Enged�lyezi a sor t�r�s�t */
    overflow-wrap: break-word; /* T�rdelje a szavakat, ha sz�ks�ges */
}

.card-container {
    overflow: hidden;
}

.card-gallery {
    float: left;
    width: 30%;
    margin: 0 1.5% 1.5% 0; /* Margin: top-right-bottom-left */
}

    .card-gallery:last-child {
        margin-right: 0; /* Utols� k�rtya jobboldali marg�j�nak elt�vol�t�sa */
    }

.custom-edit-card {
    border: none;
    background-color: #ffffff;
}

.card-title {
    color: #333;
    font-weight: bold;
}

.custom-input {
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* A .btn-save / .btn-delete / .btn-back színeit a sabada-theme.css adja. */

.form-check-label {
    color: #333;
}
.page-title {
    font-weight: bold;
    color: #333;
}
.custom-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

.custom-card-gallery {
    width: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-card-body {
    margin-top: auto;
}

.custom-button-group {
    display: flex;
    justify-content: space-between;
    margin:5px;
}

#editor-container {
    height: 300px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.form-check-input-lg {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    float: none !important;
    margin-left: 0 !important;
}

.form-check-label-lg {
    font-size: 1.1rem;
    padding-left: 0.5rem;
    cursor: pointer;
}

.form-check-lg {
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobilon m�g nagyobb */
@media (max-width: 768px) {
    .form-check-input-lg {
        width: 2rem;
        height: 2rem;
    }

    .form-check-label-lg {
        font-size: 1.25rem;
    }

    .form-check-lg {
        padding: 0.5rem 0;
        margin-bottom: 0.75rem;
    }
}

.event-desc-text {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-dot {
    width: 100%; /* �ll�tsd be a m�retet, hogy l�that� legyen */
    height: 10px;
}

/* ---- Athelyezesi keres: idopont felajanlas / valasztas ---- */
.text-purple-request {
    color: #800080;
}

/* A felajánlott időpont jelzései (halvány lila) */
.text-offer {
    color: #5b4a7a;
}

.btn-touch {
    min-height: 44px;
    font-size: 1rem;
}

.offer-slot {
    border: 1px solid #e3e3f3;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fafaff;
}

.offer-slot-title {
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.offer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.offer-value {
    flex: 1 1 auto;
    text-align: center;
    font-weight: 600;
    color: #4a4a8a;
}

.offer-btn {
    min-width: 88px;
    min-height: 44px;
}

.offer-choice-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =============================================================================
   CalendarList – Manager "Teendőid" panel
   (lemondásra jelölt / új időpontot kérő ügyfelek)
   ============================================================================= */

.manager-tasks-card {
    border-left: 4px solid #800080;
}

.task-badge-total {
    background-color: #800080;
    font-size: .85rem;
}

.task-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 5px;
}

.task-dot-cancel { background-color: #b4553f; }
.task-dot-request { background-color: #800080; }

.task-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e3e3f3;
    border-radius: 10px;
    padding: 12px;
    background-color: #fafaff;
}

.task-card-cancel {
    border-color: #f0d9d1;
    background-color: #fdf6f3;
}

.task-card-request {
    border-color: #e3d5f0;
    background-color: #f9f5fd;
}

.task-card-type {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}

.task-card-cancel .task-card-type { color: #b4553f; }
.task-card-request .task-card-type { color: #800080; }

.task-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.task-card-line {
    font-size: .82rem;
    color: #4a4a8a;
    margin-bottom: 2px;
}

.task-card-line a {
    color: #4a4a8a;
    text-decoration: none;
}

.task-card-line a:hover {
    text-decoration: underline;
}

.task-card-waiting {
    font-size: .78rem;
    color: #8f7451;
    margin-top: 4px;
}

/* Önálló típus-jelölők (a CalendarTasks táblázatban is használjuk, ott nincs .task-card ős) */
.task-card-type-cancel { color: #b4553f; }
.task-card-type-request { color: #800080; }

/* Navigációs badge a "Naptár" menüponton (a nyitott teendők száma) */
.task-nav-badge {
    background-color: #800080;
    font-size: .68rem;
    vertical-align: middle;
}

.offer-mini-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.8rem;
    color: #5b4a7a;
}

/* Felajánlott idősávok a FullCalendar rácsban: halvány lila kitöltés, szaggatott lila szél.
   Ugyanezek a színek inline stílusként is jönnek a ViewModel-ből
   (backgroundColor / borderColor / textColor), itt azért szerepelnek,
   hogy a megjelenés akkor is helyes legyen, ha az inline érték nem érvényesülne. */
.fc-event.offer-event {
    background-color: #ece4f9;
    border-color: #9b7fc4;
    color: #5b4a7a;
    border-style: dashed;
    border-width: 2px;
    opacity: 0.95;
}

/* Esemény színpötty a popoverekben */
.event-dot-lg {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Felajánlott időpont blokk a popoverben */
.offer-popover-item {
    border-top: 1px solid #eaddc6;
    padding: 8px 0;
}

/* Kisebb (fele akkora) "Ezt kérem" gomb a popoverben */
.offer-accept-sm {
    font-size: 0.75rem;
    line-height: 1.4;
    padding: 2px 10px;
    min-height: 0;
    border-radius: 6px;
}

/* ---- Egységes gomb-ikonok ----
   A gomb flex-konténer, így a "gap" pontosan az ikon és a felirat KÖZÖTT
   jelenik meg. Ikon-only gomboknál (egyetlen elem) nincs térköz,
   így az ikon középen marad. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.offer-choice {
    border: 1px solid #9b7fc4;
    border-radius: 10px;
    padding: 12px;
    background-color: #f6f1fd;
    text-align: center;
}

.offer-choice-index {
    font-size: 0.8rem;
    color: #9b7fc4;
}

.offer-choice-date {
    font-weight: 700;
    font-size: 1.05rem;
    color: #333333;
}

.offer-choice-time {
    font-weight: 600;
    color: #5b4a7a;
    margin-bottom: 10px;
}

/* Mobilon nagyobb, erintesbarat celok */
@media (max-width: 768px) {
    .btn-touch {
        min-height: 48px;
        font-size: 1.05rem;
    }

    .offer-btn {
        min-width: 96px;
        min-height: 48px;
    }

    .offer-row {
        gap: 6px;
    }
}

