#calendarscreen {
    width: 780px;
    background: rgba(18, 22, 28, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(8, 155, 155, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(8, 155, 155, 0.15);
    bottom: 70px;
    top: auto;
    right: 15px;
    left: auto;
    overflow: hidden;
}
.callendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}
.calendarscreencontent {
    padding: 16px;
    max-height: 520px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.calendarscreencontent::-webkit-scrollbar {
    display: none;
}

.input-screen {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 10px;
}

.input-group-row {
    display: flex;
    gap: 8px;
}

.calendar-date-input,
.calendar-time-input,
.calendar-text-input {
    background: rgba(10, 14, 20, 0.7);
    color: #ffffff;
    border: 1px solid rgba(8, 155, 155, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    outline: none;
    transition: all 0.2s ease;
    color-scheme: dark;
    width: 100%;
    box-sizing: border-box;
}

.calendar-text-input {
    flex: 1;
}

.calendar-date-input:focus,
.calendar-time-input:focus,
.calendar-text-input:focus {
    border-color: #089b9b;
    box-shadow: 0 0 10px rgba(8, 155, 155, 0.3);
    background: rgba(10, 14, 20, 0.9);
}

#calendar-add-button {
    background: #089b9b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(8, 155, 155, 0.2);
}

#calendar-add-button:hover {
    background: #00bcd4;
    box-shadow: 0 0 15px rgba(8, 155, 155, 0.5);
    transform: translateY(-1px);
}

#calendar-add-button:active {
    transform: translateY(0);
}

.calendar-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calendar-title {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #089b9b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.calendar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calendar-list > div,
.calendar-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #089b9b;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    color: #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.calendar-list > div:hover,
.calendar-item:hover {
    background: rgba(8, 155, 155, 0.1);
}

.calendar-empty-msg {
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 16px 0;
    font-size: 12px;
    font-style: italic;
}

.calendar-item {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid #089b9b;
    transition: all 0.2s ease;
}

.calendar-item:hover {
    background: rgba(8, 155, 155, 0.08);
    border-color: rgba(8, 155, 155, 0.25);
}

.calendar-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.calendar-item-text {
    font-size: 13px;
    color: #4dd0e1;
    font-weight: 600;
    word-break: break-word;
}

.calendar-item-date {
    color: #b0bec5;
    font-size: 11px;
}

.calendar-delete-btn {
    background: transparent;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.calendar-delete-btn:hover {
    color: #ff5f56;
    background: rgba(255, 95, 86, 0.15);
}
