.calendar-container {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header h3 {
    margin: 0;
    color: var(--teal);
    font-family: 'Orbitron', sans-serif;
}

.calendar-nav-btn {
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid rgba(0, 255, 200, 0.3);
    color: var(--teal);
    border-radius: 8px;
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-nav-btn:hover {
    background: rgba(0, 255, 200, 0.2);
}

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

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text2);
    padding: 5px 0;
    font-size: 14px;
}

.calendar-day {
    aspect-ratio: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    min-height: 80px;
}

.calendar-day:hover {
    border-color: rgba(0, 255, 200, 0.5);
    background: rgba(0, 255, 200, 0.05);
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day .date-num {
    font-size: 14px;
    color: var(--text);
    font-weight: bold;
}

.calendar-day.today {
    border: 1px solid var(--teal);
    background: rgba(0, 255, 200, 0.1);
}

.post-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    width: 100%;
    justify-content: flex-start;
}

.post-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Platform Colors */
.platform-facebook { background: #1877F2; }
.platform-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.platform-linkedin { background: #0A66C2; }
.platform-twitter { background: #1DA1F2; }
.platform-youtube { background: #FF0000; }

/* Image Preview */
#imagePreview {
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

#imagePreview img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Modal styling for day view */
.day-view-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.day-view-content {
    background: var(--bg2);
    border: 1px solid var(--teal);
    border-radius: 15px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0,255,200,0.2);
}

.planned-post-card {
    background: rgba(0,0,0,0.3);
    border-left: 4px solid var(--teal);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.planned-post-card.facebook { border-color: #1877F2; }
.planned-post-card.instagram { border-color: #e6683c; }
.planned-post-card.linkedin { border-color: #0A66C2; }
.planned-post-card.twitter { border-color: #1DA1F2; }
.planned-post-card.youtube { border-color: #FF0000; }
