[hidden] {
    display: none !important;
}

.cc-banner,
.cc-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.cc-banner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.30);
}

.cc-modal {
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.40);
}

.cc-modal:not([hidden]) {
    display: flex;
}

.cc-box,
.cc-modal-box {
    width: min(760px, calc(100% - 24px));
    background: #ffffff;
    color: #111111;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.cc-box {
    margin: 12px;
    padding: 22px;
}

.cc-modal-box {
    padding: 22px;
    max-height: calc(100vh - 32px);
    overflow: auto;
}

.cc-header h3,
.cc-modal-head h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.cc-header p,
.cc-option p {
    margin: 0;
    color: #444444;
    line-height: 1.45;
}

.cc-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.cc-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.cc-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    margin: 0 0 12px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fafafa;
}

.cc-option strong {
    display: block;
    margin-bottom: 6px;
}

.cc-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.cc-option-fixed {
    background: #f2f2f2;
}

.cc-badge {
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
}

.cc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.cc-actions-modal {
    margin-top: 20px;
}

.cc-btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font: inherit;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cc-btn-light {
    background: #e6e6e6;
    color: #333333;
}

.cc-btn-light:hover {
    background: #d9d9d9;
}

.cc-btn-save {
    background: #2f6edb;
    color: #ffffff;
}

.cc-btn-save:hover {
    background: #2559b3;
}

.cc-btn-accept {
    background: #2fa84f;
    color: #ffffff;
}

.cc-btn-accept:hover {
    background: #24863f;
}

.cc-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.cc-links a {
    color: #111111;
    text-decoration: underline;
}

.cc-manage {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #7a7a7a;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.cc-manage:hover {
    background: #666666;
    transform: scale(1.04);
}

.cc-manage-icon {
    display: block;
    width: 30px;
    height: 30px;
}

.btn-delete {
    background: #d33;
    border: none;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-delete:hover {
    background: #a00;
}

.btn {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #000000;
}

.btn-pdf {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s ease;
}

.btn-pdf:hover {
    background: #000000;
}

.decision-badge{
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:600;
}

.map-card{
    margin-bottom:24px;
}
.map-wrap{
    height:420px;
    border-radius:12px;
    overflow:hidden;
    border:1px solid #e5e5e5;
    background:#f8f8f8;
}
#visitsMap{
    width:100%;
    height:100%;
}
.map-empty{
    padding:20px;
    color:#666;
    font-size:14px;
}
.leaflet-popup-content{
    font-size:13px;
    line-height:1.5;
}

@media (max-width: 640px) {
    .cc-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .cc-actions {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
    }

    .cc-manage {
        right: 12px;
        bottom: 12px;
        left: auto;
        width: 54px;
        height: 54px;
    }

    .cc-manage-icon {
        width: 24px;
        height: 24px;
    }
}