body {
    background: #1e3450;
    color: #14202e;
    font-family: 'Inter', sans-serif;
}

.tc-hero {
    padding: 64px 24px 52px;
    text-align: center;
    background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(96,149,190,0.22), transparent), radial-gradient(ellipse 40% 40% at 85% 110%, rgba(46,195,150,0.10), transparent), #0d1b2a;
    color: #fff;
}

.tc-hero .section-label {
    color: var(--accent, #2ec396);
    margin-bottom: 16px;
}

.tc-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 14px;
}

.tc-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto;
}

.tc-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.tc-body {
    background: #ffffff;
    border-radius: 32px 32px 32px 32px;
    margin-top: -32px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.tc-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.tc-calendar-panel {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(20,32,46,0.05);
}

.tc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.tc-month-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #14202e;
}

.tc-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e4e6ea;
    color: #8b95a2;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    transition: border-color 0.2s, color 0.2s;
}

.tc-nav-btn:hover {
    border-color: #2ec396;
    color: #2ec396;
}

.tc-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.tc-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b95a2;
    padding-bottom: 10px;
}

.tc-cell {
    min-height: 72px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 8px 6px 6px;
    cursor: pointer;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tc-cell:hover {
    background: #f7f8fa;
    border-color: #e4e6ea;
}

.tc-cell--empty {
    cursor: default;
    pointer-events: none;
}

.tc-cell--today .tc-day-num {
    background: #2ec396;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tc-cell--selected {
    background: rgba(46,195,150,0.06);
    border-color: rgba(46,195,150,0.35) !important;
}

.tc-cell--has-events {
    background: #fbfbfc;
}

.tc-day-num {
    font-size: 13px;
    color: #54616f;
    font-weight: 500;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 6px;
    padding-left: 2px;
}

.tc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e4e6ea;
}

.tc-dot--scheduled {
    background: rgba(96,149,190,0.9);
}

.tc-dot--active {
    background: rgba(46,195,150,0.9);
}

.tc-dot--ending {
    background: rgba(255,193,7,0.9);
}

.tc-dot--closed {
    background: #c8cdd4;
}

.tc-dot-extra {
    font-size: 9px;
    color: #8b95a2;
    line-height: 6px;
}

.tc-detail-panel {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    padding: 28px;
    min-height: 300px;
    position: sticky;
    top: 100px;
    box-shadow: 0 1px 2px rgba(20,32,46,0.05);
}

.tc-detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 200px;
    color: #8b95a2;
    font-size: 14px;
    text-align: center;
}

.tc-detail-empty i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.tc-detail-date {
    font-size: 1rem;
    font-weight: 700;
    color: #14202e;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e4e6ea;
}

.tc-event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tc-event-card {
    background: #fbfbfc;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tc-event-card:hover {
    border-color: rgba(46,195,150,0.4);
    box-shadow: 0 2px 8px rgba(20,32,46,0.05), 0 8px 20px rgba(20,32,46,0.06);
    transform: translateY(-2px);
}

.tc-event-company {
    font-size: 14px;
    font-weight: 600;
    color: #14202e;
    margin-bottom: 6px;
}

.tc-event-dates {
    font-size: 12px;
    color: #8b95a2;
    margin-bottom: 8px;
}

.tc-event-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tc-event-status--scheduled {
    background: rgba(96,149,190,0.1);
    color: #4a7ea3;
    border: 1px solid rgba(96,149,190,0.25);
}

.tc-event-status--active {
    background: rgba(46,195,150,0.1);
    color: #1aa37d;
    border: 1px solid rgba(46,195,150,0.25);
}

.tc-event-status--closed {
    background: #f0f1f3;
    color: #8b95a2;
    border: 1px solid #e4e6ea;
}

.tc-event-no-events {
    font-size: 13px;
    color: #8b95a2;
    text-align: center;
    padding: 24px 0;
}

.tc-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.tc-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #54616f;
}

.tc-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.tc-legend-dot--scheduled {
    background: rgba(96,149,190,0.9);
}

.tc-legend-dot--active {
    background: rgba(46,195,150,0.9);
}

.tc-legend-dot--ending {
    background: rgba(255,193,7,0.9);
}

.tc-legend-dot--closed {
    background: #c8cdd4;
}

@media (max-width: 900px) {
    .tc-layout {
        grid-template-columns: 1fr;
    }

    .tc-detail-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .tc-cell {
        min-height: 52px;
        padding: 6px 4px 4px;
    }
}
