/* --- Выпадающие списки (Select) --- */
select {
    padding-right: 2.5rem !important; /* Отступ от стрелки */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f59e0b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 1rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* --- Карточки контактов (ВК, ТГ, Телефон) --- */
.contact-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.contact-card:hover {
    border-color: #f59e0b !important; /* Оранжевая рамка для ВСЕХ */
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15) !important;
    transform: translateY(-4px);
    background-color: #1f2937 !important;
}
.contact-card:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.contact-card > div:last-child,
.address-link > div {
    min-width: 0;
}

.contact-card .break-words,
.address-link span {
    overflow-wrap: anywhere;
}

/* --- Кликабельный адрес --- */
.address-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.address-link:hover {
    background-color: rgba(245, 158, 11, 0.1);
    transform: translateX(4px);
}

/* Schedule calendar load cards */
.schedule-day-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--day-border, rgba(255, 255, 255, 0.1)) !important;
    background:
        linear-gradient(180deg, var(--day-surface-top, rgba(255, 255, 255, 0.06)) 0%, var(--day-surface-bottom, rgba(255, 255, 255, 0.016)) 100%),
        radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.05), transparent 48%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px var(--day-border, rgba(255, 255, 255, 0.1));
    color: rgba(255, 255, 255, 0.96);
}

.schedule-day-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 60%);
    opacity: 0.5;
}

.schedule-day-card:hover {
    border-color: var(--day-border, rgba(255, 255, 255, 0.16)) !important;
    filter: saturate(1.08);
}

.schedule-day-card--past {
    opacity: 0.72;
}

.schedule-day-card--today {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(245, 158, 11, 0.24);
}

.schedule-day-card--selected {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 0 2px rgba(245, 158, 11, 0.82),
        0 18px 30px rgba(0, 0, 0, 0.18);
}

.schedule-day-fill,
.schedule-day-fill__glow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.schedule-day-fill {
    height: var(--day-water-level, 12%);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: linear-gradient(180deg, var(--day-water-top, rgba(74, 222, 128, 0.96)) 0%, var(--day-water-base, rgba(34, 197, 94, 0.26)) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.schedule-day-fill__glow {
    top: auto;
    height: 4px;
    transform: translateY(1px);
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    background: linear-gradient(90deg, transparent 0%, var(--day-water-glow, rgba(34, 197, 94, 0.18)) 50%, transparent 100%);
    opacity: 0.8;
}

.schedule-day-fill::after {
    content: "";
    position: absolute;
    inset: auto 0 100% 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.schedule-day-number {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.36);
}

.schedule-day-card--past .schedule-day-number {
    color: rgba(148, 163, 184, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .schedule-day-card {
        transition: none;
    }
}
