/* Existing Styles */

.mytad_cal_calendar-container {
    max-width: 1200px;
    padding: 20px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f9;
    transition: background-color 0.5s, color 0.5s;
}

/* Top Bar Styles */
.mytad_cal_top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px; /* Space between top bar and calendar grid */
}



/* Design Selector Styles */
.mytad_cal_design-selector {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.mytad_cal_design-selector label {
    margin-right: 10px;
    font-weight: bold;
}

.mytad_cal_design-selector select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Year Navigation Styles */
.mytad_cal_year-navigation {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.mytad_cal_year-navigation button,
.mytad_cal_year-navigation input,
.mytad_cal_print-button {
    padding: 8px 12px;
    margin: 0 5px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mytad_cal_year-navigation button:hover,
.mytad_cal_print-button:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.mytad_cal_year-navigation input {
    width: 100px;
    border: 1px solid #ccc;
    text-align: center;
}

.mytad_cal_print-button {
    background-color: #007bff;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.mytad_cal_print-button svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* Current Year Display Styles */
.mytad_cal_year-display {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: #007bff; /* Choose a color that stands out */
    margin: 0 10px; /* Space around the year display */
}

/* Calendar Grid Styles */
.mytad_cal_calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mytad_cal_month {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.5s, border-color 0.5s;
}

.mytad_cal_month:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mytad_cal_month h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.mytad_cal_days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 10px;
}

.mytad_cal_days div {
    text-align: center;
    padding: 5px;
    font-size: 14px;
}

.mytad_cal_day-name {
    font-weight: bold;
    color: #555;
}

.mytad_cal_day-number {
    color: #666;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.mytad_cal_day-number:hover {
    background-color: #007bff;
    color: #ffffff;
    cursor: pointer;
}

/* Design Styles */
/* Design 1: Minimalist */
.mytad_cal_design-1 .mytad_cal_month {
    background-color: #ffffff;
    border: 1px solid #ccc;
}

/* Design 2: Vibrant */
.mytad_cal_design-2 .mytad_cal_month {
    background-color: #ffe4b5;
    border: 2px solid #ff4500;
}
.mytad_cal_design-2 .mytad_cal_days .mytad_cal_day-number {
    color: #ff4500;
}
.mytad_cal_design-2 .mytad_cal_days .mytad_cal_day-number:hover {
    background-color: #ff4500;
    color: #fff;
}

/* Design 3: Dark Mode */
.mytad_cal_design-3 {
    background-color: #333;
    color: #fff;
}
.mytad_cal_design-3 .mytad_cal_month {
    background-color: #444;
    border: 1px solid #555;
}

.mytad_cal_design-3 .mytad_cal_month h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.mytad_cal_design-3 .mytad_cal_days .mytad_cal_day-name {
    color: #ddd;
}
.mytad_cal_design-3 .mytad_cal_days .mytad_cal_day-number {
    color: #bbb;
}
.mytad_cal_design-3 .mytad_cal_days .mytad_cal_day-number:hover {
    background-color: #555;
    color: #fff;
}

/* Design 4: Retro */
.mytad_cal_design-4 .mytad_cal_month {
    background-color: #f0e4d7;
    border: 2px solid #8b4513;
}
.mytad_cal_design-4 .mytad_cal_days .mytad_cal_day-number {
    color: #8b4513;
}
.mytad_cal_design-4 .mytad_cal_days .mytad_cal_day-number:hover {
    background-color: #8b4513;
    color: #fff;
}

/* Design 5: Gradient */
.mytad_cal_design-5 .mytad_cal_month {
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
    border: none;
    color: #fff;
}
.mytad_cal_design-5 .mytad_cal_days .mytad_cal_day-name {
    color: #fff;
}
.mytad_cal_design-5 .mytad_cal_days .mytad_cal_day-number {
    color: #fff;
}
.mytad_cal_design-5 .mytad_cal_days .mytad_cal_day-number:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Design 6: Frosted Glass */
.mytad_cal_design-6 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}
.mytad_cal_design-6 .mytad_cal_month {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #ccc;
}

/* Design 7: Nature Inspired */
.mytad_cal_design-7 .mytad_cal_month {
    background-color: #e6ffe6;
    border: 2px solid #228b22;
}
.mytad_cal_design-7 .mytad_cal_days .mytad_cal_day-number {
    color: #228b22;
}
.mytad_cal_design-7 .mytad_cal_days .mytad_cal_day-number:hover {
    background-color: #228b22;
    color: #fff;
}

/* Design 8: High Contrast */
.mytad_cal_design-8 {
    background-color: #000;
    color: #fff;
}
.mytad_cal_design-8 .mytad_cal_month {
    background-color: #000;
    border: 2px solid #ff4500;
}

.mytad_cal_design-8 .mytad_cal_month h3{
   color: #ff4500;
}

.mytad_cal_design-8 .mytad_cal_days .mytad_cal_day-name {
    color: #ff4500;
}
.mytad_cal_design-8 .mytad_cal_days .mytad_cal_day-number {
    color: #ff4500;
}
.mytad_cal_design-8 .mytad_cal_days .mytad_cal_day-number:hover {
    background-color: #ff4500;
    color: #000;
}

/* Current Day Highlight */
.mytad_cal_current-day {
    background-color: #ff4500;
    font-weight: 1000;
    border-radius: 50%;
    color: yellow;
}

/* Current Year Display Styles */
.mytad_cal_year-display {
    display: inline-block;
    font-size: 20px; /* Increased font size */
    font-weight: bold;
    color: #007bff; /* Distinct color */
    margin: 0 10px; /* Space around the year display */
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .mytad_cal_calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .mytad_cal_calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mytad_cal_calendar-grid {
        grid-template-columns: 1fr;
    }
}

