.hgc-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hgc-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border-radius: 20px;
    margin: 20px 0;
}

.hgc-container {
    width: 100%;
    max-width: 1100px;
}

.hgc-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.hgc-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hgc-calendars-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 35px;
    align-items: center;
}

.hgc-calendar-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hgc-calendar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.hgc-calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e5e7eb;
}

.hgc-calendar-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hgc-date-display {
    text-align: center;
}

.hgc-date-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 18px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.hgc-date-numeric {
    font-size: 1.3rem;
    color: #6b7280;
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.hgc-day-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hgc-day-circle {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.hgc-day-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hgc-day-label {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 8px;
    font-weight: 500;
}

.hgc-day-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hgc-loading {
    text-align: center;
    color: #9ca3af;
    font-size: 1.1rem;
    padding: 20px;
}

.hgc-spinner {
    border: 3px solid #e5e7eb;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: hgc-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes hgc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hgc-error {
    color: #dc2626;
    text-align: center;
    padding: 15px;
    background: #fee2e2;
    border-radius: 12px;
    margin-top: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hgc-calendars-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hgc-header h1 {
        font-size: 2.2rem;
    }

    .hgc-calendar-card {
        padding: 35px 25px;
    }

    .hgc-calendar-title {
        font-size: 1.6rem;
    }

    .hgc-date-text {
        font-size: 1.4rem;
    }

    .hgc-day-circle {
        width: 110px;
        height: 110px;
    }

    .hgc-day-name {
        font-size: 1.7rem;
    }
}
