/* Logitera - Reminders Modal Styles */
/* Dark Theme Optimized */
/* Uses standard Bulma modal structure with custom styling */

/* Modal Backdrop - Modern overlay */
.reminders_operation-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
}

/* Modal Container - Centers the modal content */
.reminders_operation-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: 900px;
    max-width: 95vw;
    pointer-events: none;
}

/* Enable pointer events on modal card */
.reminders_operation-modal-container .modal-reminder-card {
    pointer-events: auto;
}

/* Ensure modal appears above everything */
.modal-reminder-content {
    max-width: 680px;
    width: 90%;
}

.modal-reminder-card {
    background: linear-gradient(135deg, rgba(59, 59, 65, 0.98) 0%, rgba(50, 50, 54, 0.98) 100%);
    border: 1px solid rgba(121, 123, 242, 0.15);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow: hidden;
}

.modal-reminder-card-head {
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.12) 0%, rgba(91, 91, 214, 0.08) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(121, 123, 242, 0.2);
    padding: 10px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-reminder-card-head h3 {
    color: #e4e4e7;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.modal-reminder-card-body {
    background: linear-gradient(135deg, rgba(59, 59, 65, 0.95) 0%, rgba(50, 50, 54, 0.95) 100%);
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

.reminders_operation-modal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reminders_operation-modal-title {
    color: #e4e4e7;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.reminders_operation-modal-title i {
    color: #797bf2;
    margin-right: 10px;
    font-size: 1rem;
}

.reminders_operation-close,
.reminders_operation-help {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #d4d4d8;
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reminders_operation-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.reminders_operation-help:hover {
    background: rgba(121, 123, 242, 0.15);
    color: #797bf2;
}

.reminders_operation-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Tabs - Modern Glassmorphism */
.reminders_operation-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.02);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.reminders_operation-tab {
    background: transparent;
    border: none;
    color: #a1a1aa;
    padding: 4px 20px;
    cursor: pointer;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.reminders_operation-tab i {
    font-size: 0.8rem;
    transition: all 0.25s ease;
}

.reminders_operation-tab:hover {
    color: #d4d4d8;
    background: rgba(255, 255, 255, 0.04);
}

.reminders_operation-tab.active {
    color: #e4e4e7;
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    box-shadow: 0 2px 8px rgba(121, 123, 242, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(121, 123, 242, 0.2);
}

.reminders_operation-tab.active i {
    color: #a5b4fc;
}

.reminders_operation-tab-content {
    display: none;
}

.reminders_operation-tab-content.active {
    display: block;
}

/* Form - Clean */
.reminders_operation-group {
    margin-bottom: 20px;
}

.reminders_operation-label {
    display: block;
    color: #d4d4d8;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.reminders_operation-label i {
    display: none;
}

.reminders_operation-input,
.reminders_operation-select,
.reminders_operation-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: #d4d4d8;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.reminders_operation-input::placeholder {
    color: #d4d4d8;
    font-weight: 300;
}

.reminders_operation-input[type="date"],
.reminders_operation-input[type="time"] {
    color: #d4d4d8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.reminders_operation-input[type="date"]::-webkit-calendar-picker-indicator,
.reminders_operation-input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6);
    opacity: 0.6;
    cursor: pointer;
}

.reminders_operation-input[type="date"]::-webkit-calendar-picker-indicator:hover,
.reminders_operation-input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.9;
}

.reminders_operation-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.reminders_operation-select[multiple] {
    background-image: none;
    padding-right: 14px;
    height: auto;
    max-height: 180px;
    overflow-y: auto;
}

.reminders_operation-select-compact {
    font-size: 0.82rem;
    padding: 8px 12px;
}

.reminders_operation-select option {
    background: #2d2d30;
    color: #e4e4e7;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 2px 0;
    font-size: 0.82rem;
}

.reminders_operation-select option:checked {
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.25) 0%, rgba(91, 91, 214, 0.25) 100%);
    color: #a5a7f5;
    font-weight: 500;
}

.reminders_operation-select option:hover {
    background: rgba(121, 123, 242, 0.1);
}

/* Custom scrollbar for multi-select */
.reminders_operation-select-compact::-webkit-scrollbar {
    width: 4px;
}

.reminders_operation-select-compact::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.reminders_operation-select-compact::-webkit-scrollbar-thumb {
    background: rgba(121, 123, 242, 0.3);
    border-radius: 2px;
}

/* Module List with Checkboxes */
.reminders_operation-module-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px;
    height: 130px;
    overflow-y: auto;
}

.reminders_operation-module-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reminders_operation-module-item:hover {
    background: rgba(121, 123, 242, 0.08);
    border-color: rgba(121, 123, 242, 0.3);
}

.reminders_operation-module-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    background: rgba(59, 59, 65, 0.6);
    border: 2px solid rgba(121, 123, 242, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.reminders_operation-module-checkbox:hover {
    background: rgba(59, 59, 65, 0.8);
    border-color: rgba(121, 123, 242, 0.5);
}

.reminders_operation-module-checkbox:checked {
    background: linear-gradient(135deg, #797bf2 0%, #5b5bd6 100%);
    border-color: #797bf2;
}

.reminders_operation-module-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.reminders_operation-module-icon {
    color: #a1a1aa;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.reminders_operation-module-text {
    color: #d4d4d8;
    font-size: 0.82rem;
    font-weight: 400;
    user-select: none;
    transition: all 0.3s ease;
}

.reminders_operation-module-item:has(.reminders_operation-module-checkbox:checked) {
    background: rgba(121, 123, 242, 0.15);
    border-color: rgba(121, 123, 242, 0.5);
}

.reminders_operation-module-item:has(.reminders_operation-module-checkbox:checked) .reminders_operation-module-icon {
    color: #797bf2;
}

.reminders_operation-module-item:has(.reminders_operation-module-checkbox:checked) .reminders_operation-module-text {
    color: #a5a7f5;
    font-weight: 500;
}

.reminders_operation-input:focus,
.reminders_operation-select:focus,
.reminders_operation-textarea:focus {
    outline: none;
    border-color: #797bf2;
    background: rgba(121, 123, 242, 0.05);
    box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.1);
}

.reminders_operation-textarea {
    min-height: 90px;
    resize: vertical;
    font-family: inherit;
}

.reminders_operation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 4 Column Row for User + Checkbox + Date + Time */
.reminders_operation-row-4col {
    display: grid !important;
    grid-template-columns: minmax(200px, 1fr) auto minmax(100px, 120px) minmax(70px, 85px) !important;
    align-items: end;
    gap: 12px;
}

/* Time input - compact */
#RemindersOperation_time {
    width: 80px !important;
    min-width: 70px !important;
    max-width: 85px !important;
    padding: 8px 4px !important;
    text-align: center !important;
}

/* Date input - moderate */
#RemindersOperation_date {
    width: 115px !important;
    min-width: 100px !important;
    max-width: 120px !important;
}

/* Checkbox group alignment */
.reminders_operation-group-checkbox {
    margin-bottom: 20px;
}

/* Inline checkbox container */
.reminders_operation-checkbox-container-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
   /* height: 46px;*/
    white-space: nowrap;
}

.reminders_operation-checkbox-container-inline:hover {
    background: rgba(121, 123, 242, 0.08);
    border-color: rgba(121, 123, 242, 0.3);
}

.reminders_operation-checkbox-label-inline {
    color: #d4d4d8;
    font-size: 0.85rem;
    font-weight: 500;
    user-select: none;
}

/* Large textarea for reminder note */
.reminders_operation-textarea-large {
    min-height: 80px !important;
    resize: vertical;
}

/* Organization-wide Checkbox Container */
.reminders_operation-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reminders_operation-checkbox-container:hover {
    background: rgba(121, 123, 242, 0.08);
    border-color: rgba(121, 123, 242, 0.3);
}

.reminders_operation-checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    background: rgba(59, 59, 65, 0.6);
    border: 2px solid rgba(121, 123, 242, 0.3);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.reminders_operation-checkbox-input:hover {
    background: rgba(59, 59, 65, 0.8);
    border-color: rgba(121, 123, 242, 0.5);
}

.reminders_operation-checkbox-input:checked {
    background: linear-gradient(135deg, #797bf2 0%, #5b5bd6 100%);
    border-color: #797bf2;
}

.reminders_operation-checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: bold;
}

.reminders_operation-checkbox-label {
    color: #d4d4d8;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reminders_operation-checkbox-label i {
    display: none;
}

/* Radio & Checkbox - Minimal */
.reminders_operation-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.reminders_operation-radio,
.reminders_operation-checkbox {
    display: none;
}

.reminders_operation-option-label {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 5px 10px;
    color: #d4d4d8;
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.reminders_operation-option-label i {
    font-size: 0.75rem;
}

.reminders_operation-option-label:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.reminders_operation-radio:checked + .reminders_operation-option-label,
.reminders_operation-checkbox:checked + .reminders_operation-option-label {
    border-color: #797bf2;
    background: rgba(121, 123, 242, 0.15);
    color: #797bf2;
}

.reminders_operation-radio:checked + .reminders_operation-option-label.high {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.reminders_operation-radio:checked + .reminders_operation-option-label.medium {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.reminders_operation-radio:checked + .reminders_operation-option-label.low {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.reminders_operation-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    margin-top: 8px;
}

/* Buttons - Clean */
.reminders_operation-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
}

.reminders_operation-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.reminders_operation-btn-primary {
    background: linear-gradient(135deg, #797bf2 0%, #5b5bd6 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(121, 123, 242, 0.3);
}

.reminders_operation-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(121, 123, 242, 0.4);
}

.reminders_operation-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4d4d8;
}

.reminders_operation-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
}

/* List - Minimal Cards */
.reminders_operation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reminders_operation-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.reminders_operation-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #797bf2 0%, #5b5bd6 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.reminders_operation-item:hover {
    background: rgba(121, 123, 242, 0.08);
    border-color: rgba(121, 123, 242, 0.15);
    transform: translateY(-1px);
}

.reminders_operation-item:hover::before {
    opacity: 1;
}

.reminders_operation-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.reminders_operation-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reminders_operation-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.reminders_operation-priority {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.reminders_operation-priority.high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.reminders_operation-priority.medium {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.reminders_operation-priority.low {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.reminders_operation-datetime {
    color: #d4d4d8;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Countdown Timer */
.reminders_operation-countdown {
    color: #d4d4d8;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.reminders_operation-countdown i {
    font-size: 0.68rem;
}

.reminders_operation-countdown.urgent {
    color: #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.reminders_operation-countdown.past {
    color: #a1a1aa;
}

.reminders_operation-type {
    display: inline-block;
    padding: 3px 6px;
    background: rgba(121, 123, 242, 0.1);
    color: #797bf2;
    border-radius: 5px;
    font-size: 0.68rem;
    margin-bottom: 6px;
}

.reminders_operation-text {
    color: #e4e4e7;
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.45;
}

.reminders_operation-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reminders_operation-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.reminders_operation-tag {
    padding: 2px 5px;
    background: rgba(121, 123, 242, 0.1);
    color: #797bf2;
    border-radius: 4px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.reminders_operation-actions {
    display: flex;
    gap: 4px;
}

.reminders_operation-action {
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.72rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s ease;
    font-weight: 500;
    white-space: nowrap;
    min-width: fit-content;
}

.reminders_operation-action i {
    font-size: 0.7rem;
}

.reminders_operation-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.reminders_operation-action.complete {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.reminders_operation-action.complete:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.reminders_operation-action.approve {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.reminders_operation-action.approve:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.reminders_operation-approved-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    cursor: default;
    transition: all 0.2s ease;
}

.reminders_operation-approved-badge i {
    font-size: 0.9rem;
}

.reminders_operation-action.postpone {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.reminders_operation-action.postpone:hover {
    background: rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.reminders_operation-action.edit {
    background: rgba(121, 123, 242, 0.15);
    border-color: rgba(121, 123, 242, 0.3);
    color: #797bf2;
}

.reminders_operation-action.edit:hover {
    background: rgba(121, 123, 242, 0.3);
    border-color: rgba(121, 123, 242, 0.5);
    box-shadow: 0 4px 12px rgba(121, 123, 242, 0.3);
}

.reminders_operation-action.delete2 {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.reminders_operation-action.delete2:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Scrollbar - Minimal */
.reminders_operation-modal-body::-webkit-scrollbar {
    width: 6px;
}

.reminders_operation-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.reminders_operation-modal-body::-webkit-scrollbar-thumb {
    background: rgba(121, 123, 242, 0.3);
    border-radius: 3px;
}

.reminders_operation-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(121, 123, 242, 0.5);
}

/* Empty State */
.reminders_operation-empty {
    text-align: center;
    padding: 40px 20px;
    color: #a1a1aa;
}

.reminders_operation-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Badge styling for bell icon */
.reminders_operation-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .reminders_operation-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .reminders_operation-row {
        grid-template-columns: 1fr;
    }

    .reminders_operation-row-4col {
        grid-template-columns: 1fr;
    }

    .reminders_operation-modules {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .reminders_operation-buttons {
        flex-direction: column;
    }

    .reminders_operation-btn {
        width: 100%;
        justify-content: center;
    }

    .reminders_operation-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reminders_operation-header-right {
        align-items: flex-start;
        width: 100%;
    }

    .reminders_operation-item-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .reminders_operation-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .reminders_operation-action {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
        gap: 8px;
        border-width: 2px;
    }

    .reminders_operation-action i {
        font-size: 1rem;
    }

    .reminders_operation-action.complete {
        background: rgba(16, 185, 129, 0.25);
        border-color: rgba(16, 185, 129, 0.5);
    }

    .reminders_operation-action.postpone {
        background: rgba(245, 158, 11, 0.25);
        border-color: rgba(245, 158, 11, 0.5);
    }

    .reminders_operation-action.edit {
        background: rgba(121, 123, 242, 0.25);
        border-color: rgba(121, 123, 242, 0.5);
    }

    .reminders_operation-action.delete2 {
        background: rgba(239, 68, 68, 0.25);
        border-color: rgba(239, 68, 68, 0.5);
    }

    .reminders_operation-countdown {
        font-size: 0.8rem;
    }
}

/* Shake animation for postpone input validation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Custom User Dropdown - Checkbox Multiselect */
.reminders_user-dropdown-container {
    position: relative;
    width: 100%;
}

.reminders_user-dropdown-input {
    width: 100%;
    /*min-height: 46px;*/
    background: rgb(50, 50, 54);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 0px 40px 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.reminders_user-dropdown-input:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(121, 123, 242, 0.3);
}

.reminders_user-dropdown-input.active {
    border-color: #797bf2;
    background: rgba(121, 123, 242, 0.05);
    box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.1);
}

.reminders_user-dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4d4d8;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.reminders_user-dropdown-input.active .reminders_user-dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

.reminders_user-selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.reminders_user-placeholder {
    color: #cfcfd0;
    font-size: 0.88rem;
}

.reminders_user-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(121, 123, 242, 0.15);
    color: #797bf2;
    padding: 4px 8px 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.reminders_user-chip:hover {
    background: rgba(121, 123, 242, 0.25);
}

.reminders_user-chip-remove {
    cursor: pointer;
    color: #797bf2;
    font-size: 0.75rem;
    padding: 2px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.reminders_user-chip-remove:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.reminders_user-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 300px;
    background: rgba(59, 59, 65, 0.98);
    border: 1px solid rgba(121, 123, 242, 0.2);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1000;
    display: none;
}

/* User Search Container */
.reminders_user-search-container {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    background: rgba(59, 59, 65, 0.98);
    z-index: 1;
}

.reminders_user-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #d4d4d8;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.reminders_user-search-input:focus {
    outline: none;
    border-color: rgba(121, 123, 242, 0.4);
    background: rgba(121, 123, 242, 0.05);
}

.reminders_user-search-input::placeholder {
    color: #a1a1aa;
}

/* User Dropdown List */
.reminders_user-dropdown-list {
    max-height: 220px;
    overflow-y: auto;
}

.reminders_user-dropdown-menu.active {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reminders_user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.reminders_user-dropdown-item:last-child {
    border-bottom: none;
}

.reminders_user-dropdown-item:hover {
    background: rgba(121, 123, 242, 0.1);
}

.reminders_user-dropdown-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    background: rgba(59, 59, 65, 0.6);
    border: 2px solid rgba(121, 123, 242, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.reminders_user-dropdown-item input[type="checkbox"]:hover {
    background: rgba(59, 59, 65, 0.8);
    border-color: rgba(121, 123, 242, 0.5);
}

.reminders_user-dropdown-item input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #797bf2 0%, #5b5bd6 100%);
    border-color: #797bf2;
}

.reminders_user-dropdown-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.reminders_user-dropdown-item-label {
    color: #d4d4d8;
    font-size: 0.88rem;
    font-weight: 400;
    user-select: none;
}

.reminders_user-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.reminders_user-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.reminders_user-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(121, 123, 242, 0.3);
    border-radius: 3px;
}

.reminders_user-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(121, 123, 242, 0.5);
}

/* Assigned Reminders - Special Styling for Reminders Assigned by Others */
.reminders_operation-item-assigned {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-left: 4px solid #00d4ff;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.reminders_operation-item-assigned:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(99, 102, 241, 0.03) 100%);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15), 0 0 0 1px rgba(0, 212, 255, 0.2);
    border-left-color: #00c3ff;
}

/* "Assigned By" Badge */
.reminders_assigned-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(99, 102, 241, 0.12) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 5px;
    color: #00d4ff;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-left: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 212, 255, 0.1);
}

.reminders_assigned-by-badge i {
    font-size: 0.65rem;
    color: #00d4ff;
}

.reminders_operation-item-assigned:hover .reminders_assigned-by-badge {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.2);
    transform: translateY(-1px);
}

/* "Atanan" badge style (for reminders assigned TO others by current user) */
.reminders_assigned-to-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(34, 197, 94, 0.12) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 5px;
    color: #10b981;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.reminders_assigned-to-badge i {
    font-size: 0.65rem;
    color: #10b981;
}

.reminders_operation-item-assigned-to:hover .reminders_assigned-to-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(34, 197, 94, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2);
    transform: translateY(-1px);
}

/* Animation for assigned items on load */
@keyframes assignedGlow {
    0% {
        box-shadow: 0 2px 8px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15), 0 0 0 1px rgba(0, 212, 255, 0.25);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0, 212, 255, 0.08), 0 0 0 1px rgba(0, 212, 255, 0.1);
    }
}

.reminders_operation-item-assigned {
    animation: assignedGlow 2s ease-in-out;
}

/* ============================================
   CALENDAR VIEW STYLES
   ============================================ */

/* Calendar Container */
.reminders_calendar-container {
    display: block;
}

/* Calendar Header - 2-column layout (Statistics & Dropdowns) */
.reminders_calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.05) 0%, rgba(91, 91, 214, 0.03) 100%);
    border-radius: 10px;
    border: 1px solid rgba(121, 123, 242, 0.1);
    gap: 20px;
}

/* Left: Monthly Statistics (Horizontal) */
.reminders_calendar-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
}

.reminders_stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.reminders_stat-item.clickable {
    cursor: pointer;
}

.reminders_stat-item.clickable:hover {
    transform: translateY(-2px);
}

.reminders_stat-item.clickable:hover .reminders_stat-value {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.4);
}

.reminders_stat-label {
    font-size: 0.8125rem;
    color: #d4d4d8;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.reminders_stat-value {
    font-size: 0.9375rem;
    color: #e4e4e7;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    min-width: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.reminders_stat-value:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.reminders_stat-completed {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.reminders_stat-completed:hover {
    background: rgba(34, 197, 94, 0.2);
}

.reminders_stat-pending {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.reminders_stat-pending:hover {
    background: rgba(245, 158, 11, 0.2);
}

.reminders_stat-separator {
    width: 1px;
    height: 18px;
    background: linear-gradient(to bottom,
        rgba(121, 123, 242, 0) 0%,
        rgba(121, 123, 242, 0.3) 50%,
        rgba(121, 123, 242, 0) 100%);
}

/* Calendar Wrapper - Flexbox container for grid + side navigation */
.reminders_calendar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* Calendar Grid Container */
.reminders_calendar-grid {
    flex: 1;
}

/* Side Navigation Buttons (Minimal Style) */
.reminders_calendar-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #797bf2;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.reminders_calendar-nav-btn:hover {
    background: rgba(121, 123, 242, 0.1);
    color: #a5a7f5;
    transform: scale(1.15);
}

.reminders_calendar-nav-btn:active {
    transform: scale(1.05);
}

.reminders_calendar-nav-left {
    /* Additional styling for left button if needed */
}

.reminders_calendar-nav-right {
    /* Additional styling for right button if needed */
}

/* Right: Calendar Selectors (Month & Year Dropdowns) */
.reminders_calendar-selectors {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.reminders_calendar-dropdown {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e4e4e7;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.reminders_calendar-dropdown:hover {
    background: rgba(121, 123, 242, 0.15);
    border-color: rgba(121, 123, 242, 0.3);
}

.reminders_calendar-dropdown:focus {
    outline: none;
    border-color: #797bf2;
    box-shadow: 0 0 0 3px rgba(121, 123, 242, 0.15);
}

.reminders_calendar-dropdown option {
    background: #18181b;
    color: #e4e4e7;
}

/* Calendar Weekdays */
.reminders_calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.reminders_calendar-weekday {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #797bf2;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calendar Days Grid - Larger & More Beautiful */
.reminders_calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    height: auto;
}

.reminders_calendar-day {
    width: 100%;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* Circle background effect - grows with data */
.reminders_calendar-day::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.reminders_calendar-day.other-month {
    opacity: 0.3;
    pointer-events: none;
}

.reminders_calendar-day.other-month::before {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.015);
}

/* Day number - large and readable */
.reminders_calendar-day-number {
    font-size: 1rem;
    font-weight: 600;
    color: #d4d4d8;
    position: relative;
    z-index: 2;
    margin-bottom: 3px;
}

.reminders_calendar-day.other-month .reminders_calendar-day-number {
    color: #52525b;
}

/* NO DATA - medium circle */
.reminders_calendar-day:not(.has-reminders)::before {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
}

/* DATA COUNT 1-2: Green circle */
.reminders_calendar-day[data-count="1"]::before,
.reminders_calendar-day[data-count="2"]::before {
    width: 38px;
    height: 38px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.35), rgba(5, 150, 105, 0.2));
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

/* DATA COUNT 3-4: Lime circle */
.reminders_calendar-day[data-count="3"]::before,
.reminders_calendar-day[data-count="4"]::before {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.4), rgba(101, 163, 13, 0.25));
    box-shadow: 0 0 22px rgba(132, 204, 22, 0.6);
}

/* DATA COUNT 5-6: Orange circle */
.reminders_calendar-day[data-count="5"]::before,
.reminders_calendar-day[data-count="6"]::before {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.45), rgba(217, 119, 6, 0.35));
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.7);
}

/* DATA COUNT 7+: Red circle */
.reminders_calendar-day[data-count="7"]::before,
.reminders_calendar-day[data-count="8"]::before,
.reminders_calendar-day[data-count="9"]::before,
.reminders_calendar-day[data-count="10"]::before,
.reminders_calendar-day[data-count="11"]::before,
.reminders_calendar-day[data-count="12"]::before,
.reminders_calendar-day[data-count="13"]::before,
.reminders_calendar-day[data-count="14"]::before,
.reminders_calendar-day[data-count="15"]::before {
    width: 54px;
    height: 54px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.5), rgba(220, 38, 38, 0.4));
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.8);
}

/* Today indicator - PERFECT CIRCLE ring */
/* .reminders_calendar-day.today::after {
    content: '';
    position: absolute;
    width: 54px;
    height: 54px;
    border: 2px solid #797bf2;
    border-radius: 50%;
    z-index: 1;
} */

.reminders_calendar-day.today .reminders_calendar-day-number {
    color: #a5a7f5;
    font-weight: 700;
}

/* Badge with count - beautiful pill at bottom */
.reminders_calendar-day-badge {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.88));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 12px;
    z-index: 3;
    min-width: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.reminders_calendar-day:not(.has-reminders) .reminders_calendar-day-badge {
    display: none;
}

/* Hover effects - Enhanced */
.reminders_calendar-day {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reminders_calendar-day:hover {
    background: rgba(121, 123, 242, 0.08);
    border-radius: 12px;
    transform: scale(1.05);
}

.reminders_calendar-day.has-reminders:hover {
    background: rgba(121, 123, 242, 0.15);
    box-shadow: 0 4px 15px rgba(121, 123, 242, 0.2);
}

.reminders_calendar-day.has-reminders:hover::before {
    transform: scale(1.15);
    filter: brightness(1.4);
}

.reminders_calendar-day:hover .reminders_calendar-day-number {
    color: #e4e4e7;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(121, 123, 242, 0.5);
}

.reminders_calendar-day:hover .reminders_calendar-day-badge {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Past days styling (geçmiş günler) */
.reminders_calendar-day.past-day {
    opacity: 0.6;
}

.reminders_calendar-day.past-day .reminders_calendar-day-number {
    color: #a1a1aa;
}

.reminders_calendar-day.past-day.has-reminders::before {
    background: linear-gradient(135deg, rgba(113, 113, 122, 0.4), rgba(82, 82, 91, 0.3)) !important;
}

.reminders_calendar-day.past-day .reminders_calendar-day-badge {
    background: linear-gradient(135deg, #52525b, #3f3f46) !important;
    color: #a1a1aa !important;
}

.reminders_calendar-day.past-day:hover {
    opacity: 0.8;
    background: rgba(113, 113, 122, 0.1);
}

/* Highlight pulse animation (from notification click) */
.reminders_calendar-day.highlight-pulse {
    animation: calendarHighlightPulse 0.8s ease-in-out 3;
    z-index: 10;
}

@keyframes calendarHighlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(121, 123, 242, 0.7);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 12px rgba(121, 123, 242, 0);
        background: rgba(121, 123, 242, 0.3);
        border-radius: 12px;
    }
}

/* Reminder item highlight (in day detail view) */
.reminders_operation-item.highlight-pulse {
    animation: reminderHighlightPulse 0.6s ease-in-out 4;
}

@keyframes reminderHighlightPulse {
    0%, 100% {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.06);
        transform: scale(1);
    }
    50% {
        background: rgba(121, 123, 242, 0.25);
        border-color: rgba(121, 123, 242, 0.6);
        box-shadow: 0 0 25px rgba(121, 123, 242, 0.4), inset 0 0 0 2px rgba(121, 123, 242, 0.3);
        transform: scale(1.01);
    }
}

/* Hide the background circle when tooltip is active to prevent double ellipse */
.reminders_calendar-day[data-tooltip]:hover::before {
    opacity: 0 !important;
    display: none;
}

/* Calendar Tooltip - JavaScript-based DOM element */
.reminders_calendar-tooltip {
    position: fixed;
    background: rgba(59, 59, 65, 0.98);
    border: 1px solid rgba(121, 123, 242, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e4e4e7;
    white-space: pre-line;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-width: 280px;
    max-width: 380px;
    width: auto;
    text-align: left;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(121, 123, 242, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.reminders_calendar-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Day Detail View */
.reminders_day-detail {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reminders_day-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.08) 0%, rgba(91, 91, 214, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(121, 123, 242, 0.15);
}

.reminders_day-detail-back {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #797bf2;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reminders_day-detail-back:hover {
    background: rgba(121, 123, 242, 0.15);
    border-color: rgba(121, 123, 242, 0.3);
    color: #a5a7f5;
    transform: translateX(-3px);
}

.reminders_day-detail-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e4e4e7;
    margin: 0;
    flex: 1;
}

/* Hourly Grouping */
.reminders_hour-group {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.reminders_hour-group:hover {
    border-color: rgba(121, 123, 242, 0.2);
    box-shadow: 0 4px 12px rgba(121, 123, 242, 0.08);
}

.reminders_hour-header {
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.08) 0%, rgba(91, 91, 214, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.reminders_hour-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #797bf2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reminders_hour-count {
    background: linear-gradient(135deg, rgba(121, 123, 242, 0.2) 0%, rgba(91, 91, 214, 0.15) 100%);
    color: #a5a7f5;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(121, 123, 242, 0.3);
}

.reminders_hour-items {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Compact Reminder Item for Day View */
.reminders_hour-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.reminders_hour-item:hover {
    background: rgba(121, 123, 242, 0.08);
    border-color: rgba(121, 123, 242, 0.2);
    transform: translateX(4px);
}

.reminders_hour-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.reminders_hour-item-priority {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.reminders_hour-item-priority.high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.reminders_hour-item-priority.medium {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.reminders_hour-item-priority.low {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.reminders_hour-item-text {
    color: #e4e4e7;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.reminders_hour-item-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reminders_hour-item-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #d4d4d8;
}

/* Empty State for Day Detail */
.reminders_day-detail-empty {
    text-align: center;
    padding: 60px 20px;
    color: #a1a1aa;
}

.reminders_day-detail-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.reminders_day-detail-empty p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   REMINDERS - Today's Tooltip (Speech Bubble)
   ============================================ */

/* Today's reminder tooltip (speech bubble) - Dark grimtrak design */
.reminders_today-tooltip {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(59, 59, 65, 0.98);
    border: 2px solid rgba(121, 123, 242, 0.35);
    color: #e4e4e7;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 10000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInFromTop 0.5s ease-out;
    max-width: 320px;
    backdrop-filter: blur(10px);
}

.reminders_today-tooltip:hover {
    transform: translateY(-2px);
    border-color: rgba(121, 123, 242, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(121, 123, 242, 0.2);
    background: rgba(70, 70, 76, 0.98);
}

.reminders_today-tooltip-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.reminders_today-tooltip-content i {
    font-size: 1.4rem;
    color: #797bf2;
}

.reminders_today-tooltip-content strong {
    color: #797bf2;
    font-weight: 700;
    font-size: 1.05rem;
}

.reminders_today-tooltip-arrow {
    position: absolute;
    top: -10px;
    right: 110px;
    width: 0;
    height: 0;
    border-bottom: 10px solid rgba(59, 59, 65, 0.98);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    filter: drop-shadow(0 -2px 0 rgba(121, 123, 242, 0.35));
}

/* Slide in animation from top */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* X close button for tooltip */
.reminders_today-tooltip-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #d4d4d8;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.reminders_today-tooltip-close:hover {
    color: #797bf2;
}

/* ============================================
   INPUT/DROPDOWN TEXT COLOR OVERRIDES
   Softer gray text for inputs and dropdowns
   ============================================ */

#modal_Reminders .new-input,
#modal_Reminders .new-select,
#modal_Reminders .new-date-input,
#modal_Reminders input[type="date"],
#modal_Reminders input[type="time"],
#modal_Reminders input[type="text"],
#modal_Reminders textarea,
#modal_Reminders select {
    color: #8b8b95 !important;
}

#modal_Reminders .new-input::placeholder,
#modal_Reminders textarea::placeholder {
    color: #6b6b75 !important;
}

#modal_Reminders .new-select option,
#modal_Reminders select option {
    color: #8b8b95;
    background: rgba(59, 59, 65, 0.98);
}

/* User dropdown placeholder */
#modal_Reminders .reminders_user-placeholder {
    color: #6b6b75 !important;
}

/* User dropdown items text */
#modal_Reminders .reminders_user-dropdown-item-label {
    color: #8b8b95 !important;
}

/* User chips text */
#modal_Reminders .reminders_user-chip {
    color: #9090a0 !important;
}

/* Delete Modal - Above main reminders modal */
#RemindersOperation_deleteModal.new-delete-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2147483630 !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

#RemindersOperation_deleteModal .new-delete-modal-content {
    z-index: 2147483631 !important;
    position: relative !important;
}

/* ============================================
   Hatırlatma Listesi Filter Styles (Minimal)
   ============================================ */

.reminders_list-filter-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

/* Time Filter Group - Pill Buttons */
.reminders_list-filter-group {
    display: inline-flex;
    background: rgba(50, 50, 54, 0.6);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.reminders_list-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: none;
    background: transparent;
    color: #a1a1aa;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.reminders_list-filter-btn i {
    font-size: 0.75rem;
}

.reminders_list-filter-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: #d4d4d8;
}

.reminders_list-filter-btn.active {
    background: rgba(121, 123, 242, 0.2);
    color: #a5b4fc;
}

.reminders_list-filter-btn.disabled,
.reminders_list-filter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.reminders_list-filter-btn.disabled:hover,
.reminders_list-filter-btn:disabled:hover {
    background: transparent;
    color: #a1a1aa;
}

/* Type Toggle - Yaklaşan / Geçmiş */
.reminders_list-type-toggle {
    display: inline-flex;
    gap: 4px;
}

.reminders_list-type-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #a1a1aa;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reminders_list-type-btn i {
    font-size: 0.72rem;
}

.reminders_list-type-btn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.12);
    color: #d4d4d8;
}

.reminders_list-type-btn.active {
    background: rgba(121, 123, 242, 0.12);
    border-color: rgba(121, 123, 242, 0.25);
    color: #a5b4fc;
}

/* Yaklaşan active - soft blue */
.reminders_list-type-btn.active[data-type="upcoming"] {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

/* Geçmiş active - soft gray */
.reminders_list-type-btn.active[data-type="past"] {
    background: rgba(113, 113, 122, 0.15);
    border-color: rgba(113, 113, 122, 0.25);
    color: #d4d4d8;
}

/* Empty state for list */
.reminders_list-empty {
    text-align: center;
    padding: 40px 20px;
    color: #a1a1aa;
}

.reminders_list-empty i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
    display: block;
}

.reminders_list-empty p {
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   CRUD UX Animations & Feedback Styles
   ======================================== */

/* Mini Toast Notification */
.reminders_mini-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2147483646;
    animation: toastSlideIn 0.3s ease-out forwards;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.reminders_mini-toast.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(22, 163, 74, 0.95) 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.reminders_mini-toast.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.reminders_mini-toast.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.reminders_mini-toast.hiding {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Button Loading State */
.reminders_operation-btn.is-loading,
.new-delete-modal-btn.is-loading,
button.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.reminders_operation-btn.is-loading i.fa-spinner,
.new-delete-modal-btn.is-loading i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Item Success Flash Animation */
.reminders_operation-item.success-flash {
    animation: successGlow 0.6s ease-out;
}

@keyframes successGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
        background: rgba(34, 197, 94, 0.15);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(34, 197, 94, 0.3);
        background: rgba(34, 197, 94, 0.2);
    }
    100% {
        box-shadow: none;
        background: transparent;
    }
}

/* Item Remove Animation */
.reminders_operation-item.removing {
    animation: itemFadeOut 0.4s ease-out forwards;
}

@keyframes itemFadeOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        max-height: 200px;
    }
    50% {
        opacity: 0.5;
        transform: translateX(20px) scale(0.98);
    }
    100% {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
        max-height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

/* =================== REMINDER TIMER TOAST NOTIFICATIONS =================== */

/* Toast Container - Fixed position at top right */
#reminder-timer-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    pointer-events: none;
}

/* Base Toast Style */
.reminder-timer-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 59, 65, 0.98) 0%, rgba(50, 50, 54, 0.98) 100%);
    border: 1px solid rgba(121, 123, 242, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 380px;
}

.reminder-timer-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.reminder-timer-toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

/* Warning Toast (15 minutes left) - Orange/Amber theme */
.reminder-timer-toast-warning {
    border-color: rgba(255, 159, 67, 0.4);
    background: linear-gradient(135deg, rgba(59, 59, 65, 0.98) 0%, rgba(60, 50, 45, 0.98) 100%);
}

.reminder-timer-toast-warning .reminder-timer-toast-icon {
    color: #ff9f43;
    background: rgba(255, 159, 67, 0.15);
}

/* Info Toast (Time's up) - Purple theme */
.reminder-timer-toast-info {
    border-color: rgba(121, 123, 242, 0.4);
    background: linear-gradient(135deg, rgba(59, 59, 65, 0.98) 0%, rgba(55, 50, 70, 0.98) 100%);
}

.reminder-timer-toast-info .reminder-timer-toast-icon {
    color: #797bf2;
    background: rgba(121, 123, 242, 0.15);
}

/* Toast Icon */
.reminder-timer-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

/* Toast Content */
.reminder-timer-toast-content {
    flex: 1;
    min-width: 0;
}

.reminder-timer-toast-title {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.reminder-timer-toast-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    word-wrap: break-word;
    margin-bottom: 12px;
}

/* Toast Actions */
.reminder-timer-toast-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.reminder-timer-toast-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reminder-timer-toast-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Snooze Button */
.reminder-timer-toast-btn-snooze {
    background: rgba(255, 159, 67, 0.15);
    color: #ff9f43;
    border: 1px solid rgba(255, 159, 67, 0.3);
}

.reminder-timer-toast-btn-snooze:hover:not(:disabled) {
    background: rgba(255, 159, 67, 0.25);
    border-color: rgba(255, 159, 67, 0.5);
}

/* Close/OK Button */
.reminder-timer-toast-btn-close {
    background: rgba(121, 123, 242, 0.15);
    color: #797bf2;
    border: 1px solid rgba(121, 123, 242, 0.3);
}

.reminder-timer-toast-btn-close:hover:not(:disabled) {
    background: rgba(121, 123, 242, 0.25);
    border-color: rgba(121, 123, 242, 0.5);
}

/* Toast Close X Button */
.reminder-timer-toast-close-x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 12px;
}

.reminder-timer-toast-close-x:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Make toast position relative for close button */
.reminder-timer-toast {
    position: relative;
    padding-right: 36px;
}

/* Toast animation keyframes */
@keyframes reminder-toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes reminder-toast-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Pulse animation for due toast icon */
.reminder-timer-toast-info .reminder-timer-toast-icon {
    animation: reminder-icon-pulse 2s ease-in-out infinite;
}

@keyframes reminder-icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}