/* Hot Dates board + Submit RFP wizard (calendar + RFP) */

.hd-board {
    --hd-accent: var(--sr-accent, var(--cc-accent, #0d6efd));
    --hd-surface: #fff;
    --hd-muted: #64748b;
    --hd-border: rgba(15, 23, 42, 0.08);
    --hd-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hd-board__header {
    margin-bottom: 1.25rem;
}

.hd-board__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: -0.02em;
}

.hd-board__lead {
    margin: 0;
    color: var(--hd-muted);
    font-size: 0.95rem;
}

.hd-board__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 1.25rem;
    border: 1px dashed var(--hd-border);
    border-radius: 1rem;
    color: var(--hd-muted);
    text-align: center;
    background: rgba(148, 163, 184, 0.06);
}

.hd-board__empty i {
    font-size: 1.75rem;
    opacity: 0.7;
}

.hd-month + .hd-month {
    margin-top: 1.75rem;
}

.hd-month__title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hd-muted);
    margin: 0 0 0.85rem;
}

.hd-month__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.hd-card {
    background: var(--hd-surface);
    border: 1px solid var(--hd-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--hd-shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hd-card__media {
    height: 7.5rem;
    background-image: var(--hd-img);
    background-size: cover;
    background-position: center;
}

.hd-card__body {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 1.1rem 1.1rem;
    flex: 1;
}

.hd-card__date {
    flex: 0 0 auto;
    width: 3.4rem;
    text-align: center;
    border-radius: 0.75rem;
    background: linear-gradient(160deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.04));
    color: var(--hd-accent);
    padding: 0.55rem 0.25rem;
    line-height: 1.1;
}

.hd-card__day {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
}

.hd-card__mon {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hd-card__year {
    display: block;
    font-size: 0.68rem;
    opacity: 0.75;
    margin-top: 0.15rem;
}

.hd-card__content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hd-card__venue {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hd-muted);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hd-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.hd-card__desc {
    margin: 0 0 0.75rem;
    color: var(--hd-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    flex: 1;
}

.hd-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
}

.hd-card__link {
    font-size: 0.85rem;
    color: var(--hd-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hd-card__link:hover {
    color: var(--hd-accent);
}

.hd-card__cta {
    margin-left: auto;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--hd-accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.hd-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.28);
}

.hd-card__cta:active {
    transform: none;
}

/* Wizard overlay */
body.hd-wizard-open {
    overflow: hidden;
}

.hd-wizard {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hd-wizard[hidden] {
    display: none !important;
}

.hd-wizard__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.hd-wizard__panel {
    position: relative;
    width: min(32rem, 100%);
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28);
    padding: 1.5rem 1.5rem 1.25rem;
    animation: hd-wizard-in 0.22s ease;
}

@keyframes hd-wizard-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hd-wizard__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hd-wizard__close:hover {
    background: rgba(148, 163, 184, 0.28);
}

.hd-wizard__progress {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.hd-wizard__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #e2e8f0;
    transition: width 0.2s ease, background 0.2s ease;
}

.hd-wizard__dot.is-active,
.hd-wizard__dot.is-done {
    background: var(--hd-accent, #0d6efd);
}

.hd-wizard__dot.is-active {
    width: 1.4rem;
}

.hd-wizard__eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-accent, #0d6efd);
}

.hd-wizard__title {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hd-wizard__sub {
    margin: 0 0 1.15rem;
    color: #64748b;
    font-size: 0.95rem;
}

.hd-wizard__label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.hd-wizard__input {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hd-wizard__input:focus {
    border-color: var(--hd-accent, #0d6efd);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.hd-wizard__hint {
    margin: 0 0 0.85rem;
    color: #64748b;
    font-size: 0.9rem;
}

.hd-wizard__dates {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 520px) {
    .hd-wizard__dates {
        grid-template-columns: 1fr 1fr;
    }
}

.hd-wizard__date-wrap .form-control {
    border-radius: 0.75rem 0 0 0.75rem;
}

.hd-wizard__date-wrap .input-group-text {
    border-radius: 0 0.75rem 0.75rem 0;
    cursor: pointer;
}

.hd-wizard__error {
    margin: 0.45rem 0 0;
    color: #dc3545;
    font-size: 0.85rem;
}

.hd-wizard__error--global {
    margin-top: 0.75rem;
}

.hd-wizard__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.hd-wizard__btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.hd-wizard__btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.hd-wizard__btn--ghost {
    background: transparent;
    color: #475569;
}

.hd-wizard__btn--ghost:hover {
    background: rgba(148, 163, 184, 0.15);
}

.hd-wizard__btn--primary {
    background: var(--hd-accent, #0d6efd);
    color: #fff;
}

.hd-wizard__btn--primary:hover {
    filter: brightness(1.05);
}

@media (max-width: 575.98px) {
    .hd-wizard__panel {
        padding: 1.25rem 1.1rem 1rem;
        border-radius: 1rem;
    }

    .hd-card__cta {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .hd-card__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
