.drawer {
    position: fixed;
    top: 0;
    right: -550px;
    width: 500px;
    height: 100%;
    max-width: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer.open { right: 0; }
.drawer__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1999;
}
.drawer__header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer__header h3 {
    margin:0;
}
.drawer__form {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 25px;
    flex-grow: 1;
    overflow-y: auto;
}
.drawer__form-close {
    background:none;
    border:none;
    font-size:28px;
    cursor:pointer;
}
.drawer__tile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.drawer__tile-label {
    cursor: pointer;
    margin: 0;
}
.drawer__tile-label input, .drawer_privacy-item input {
    display: none;
}
.drawer__tile-label:hover .drawer__tile-content {
    border-color: #00473e;
    background: #f0f7f6;
}
.drawer__tile-label input:checked + .drawer__tile-content {
    border-color: #00473e;
    background: #00473e;
    box-shadow: 0 4px 10px rgba(0, 71, 62, 0.2);
}
.drawer__tile-label input:checked + .drawer__tile-content span {
    color: #fff;
}
.drawer__tile-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    transition: all 0.2s ease;
}
.drawer__tile-content span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.drawer_privacy {
    display: flex;
    background: #f1f3f5;
    padding: 6px;
    border-radius: 12px;
    gap: 4px;
}
.drawer_privacy-item { 
    flex: 1; 
    cursor: pointer; 
    margin: 0; 
}
.drawer_privacy-item input:checked + .drawer_privacy-item--content {
    background: white;
    color: #00473e;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.05);
}

.drawer_privacy-item input:checked + .drawer_privacy-item--content i {
    color: #00473e;
}
.drawer_privacy-item--content {
    padding: 12px 8px;
    text-align: center;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    color: #666;
    transition: all 0.2s ease;
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    gap: 6px;
    background: transparent;
    border: 1px solid transparent;
}
.drawer_privacy-item--content i {
    font-size: 18px;
    color: #888;
}
.drawer__calendar { 
    border: 1px solid #eee; 
    border-radius: 15px; 
    padding: 15px; 
    background: #fff;
}
.drawer__calendar-header { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.drawer__calendar-header--selects {
    display: flex;
    gap: 5px;
}
.drawer__calendar-nav--prev, .drawer__calendar-nav--next {
    background: #f1f3f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.drawer__calendar-nav:hover {
    background: #e9ecef;
}
.drawer__calendar-days { 
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.drawer__calendar-date--selected {
    margin-bottom: 10px;
    font-size: 13px;
    color: #00473e;
    background: #e6f0ef;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}
.drawer__calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    color: #444; }
.drawer__calendar-day:hover { background: #f0f0f0; }
.drawer__calendar-day--selected { 
    background: #00473e !important;
    color: white !important;
    font-weight: bold;
}
.drawer__footer {
    padding: 20px 0 0 0;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    background: white;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .drawer { 
        width: 100%;
        right: -100%;
    }
    .drawer__tile-content { padding: 6px 12px; }
    .drawer__tile-content span { font-size: 13px; }
    .drawer_privacy { flex-wrap: wrap; }
    .drawer_privacy-item { flex: 0 0 calc(50% - 4px); }
    .drawer_privacy-item--content {
        padding: 8px 4px;
        font-size: 11px;
    }
}