@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

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

:root {
    --primary-bg: #0a0e27;
    --secondary-bg: #151932;
    --accent-cyan: #00d9ff;
    --accent-blue: #0066ff;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --border-color: #1e2a4a;
    --glow-color: rgba(0, 217, 255, 0.3);
    --error-color: #ff3366;
    --success-color: #00ff88;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #151932 50%, #0a0e27 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated grid background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s linear infinite;
    pointer-events: none;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { width: 3px; height: 3px; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 2px; height: 2px; left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { width: 4px; height: 4px; left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { width: 2px; height: 2px; left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { width: 3px; height: 3px; left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { width: 2px; height: 2px; left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { width: 4px; height: 4px; left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { width: 3px; height: 3px; left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { width: 2px; height: 2px; left: 90%; animation-delay: 16s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) translateX(0); }
    50% { transform: translateY(-10vh) translateX(20px); }
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.login-card {
    background: rgba(21, 25, 50, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 217, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 180px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.5)); }
}

.subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.description {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

.login-form {
    margin-top: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(10, 14, 39, 0.8);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.form-input::placeholder {
    color: rgba(136, 146, 176, 0.5);
}

.form-actions {
    margin-top: 32px;
}

.btn-login {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.security-badge {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.security-icon {
    width: 20px;
    height: 20px;
    color: var(--success-color);
}

.security-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: var(--error-color);
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--success-color);
}

@media (max-width: 600px) {
    .login-card {
        padding: 32px 24px;
    }

    .logo {
        width: 140px;
    }
}

/* ===== Spelling Variants / Obfuscation Selector Styles ===== */

.spelling-type-selector {
    margin-bottom: 20px;
}

.type-options {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.type-option {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.type-option span {
    display: block;
    padding: 12px 16px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.type-option small {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
    font-weight: 400;
}

.type-option:hover span {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.type-option input[type="radio"]:checked + span {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.spelling-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.spelling-level-selector {
    margin-bottom: 20px;
}

.level-options {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.level-option {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.level-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.level-option span {
    display: block;
    padding: 10px 14px;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 14px;
}

.level-option small {
    display: block;
    font-size: 10px;
    margin-top: 2px;
    opacity: 0.6;
    font-weight: 400;
}

.level-option:hover span {
    border-color: var(--accent-cyan);
    transform: translateY(-1px);
}

.level-option input[type="radio"]:checked + span {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .type-options {
        flex-direction: column;
    }

    .level-options {
        flex-direction: column;
    }
}

/* ===== MONITORING NEW TASK PAGE STYLES ===== */

.page-header {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #00AEEF;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.back-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Wide content card */
.content-card-wide {
    background: rgba(21, 25, 50, 1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    width: 60%;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 174, 239, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #00AEEF;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.required {
    color: #ff4444;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 174, 239, 0.05);
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00AEEF;
    background: rgba(0, 174, 239, 0.08);
}

.form-input::placeholder {
    color: #8892b0;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Selected Pills */
.selected-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    min-height: 32px;
}

.selection-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #00AEEF, #00D9FF);
    border-radius: 12px;
    font-size: 0.875rem;
    color: white;
    animation: pillFadeIn 0.08s ease;
}

@keyframes pillFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pill-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    line-height: 1;
}

.pill-remove:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.pill-text {
    font-weight: 500;
}

.pill-meta {
    opacity: 0.8;
    font-size: 0.75rem;
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 174, 239, 0.05);
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-trigger:hover {
    border-color: #00AEEF;
    background: rgba(0, 174, 239, 0.08);
}

.custom-dropdown.active .dropdown-trigger {
    border-color: #00AEEF;
    background: rgba(0, 174, 239, 0.08);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-placeholder {
    color: #8892b0;
    font-size: 0.9375rem;
}

.dropdown-chevron {
    width: 20px;
    height: 20px;
    color: #00AEEF;
    transition: transform 0.2s ease;
}

.custom-dropdown.active .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(21, 25, 50, 0.98);
    border: 1px solid #00AEEF;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 320px;
    overflow: hidden;
    animation: dropdownOpen 0.2s ease;
}

@keyframes dropdownOpen {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-search {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

.dropdown-search-input {
    width: 100%;
    padding: 0.5rem;
    background: rgba(0, 174, 239, 0.05);
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.875rem;
}

.dropdown-search-input:focus {
    outline: none;
    border-color: #00AEEF;
}

.dropdown-options {
    max-height: 240px;
    overflow-y: auto;
}

.dropdown-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 174, 239, 0.05);
}

.dropdown-option:hover {
    background: rgba(0, 174, 239, 0.1);
}

.dropdown-option.selected {
    background: rgba(0, 174, 239, 0.15);
    color: #00AEEF;
}

.dropdown-option.hidden {
    display: none;
}

.option-name {
    font-size: 0.9375rem;
    color: #ffffff;
}

.option-meta {
    font-size: 0.8125rem;
    color: #8892b0;
}

.dropdown-empty {
    padding: 2rem;
    text-align: center;
    color: #8892b0;
    font-size: 0.875rem;
}

/* Custom scrollbar */
.dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: #00AEEF;
    border-radius: 3px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-hint {
    font-size: 0.8125rem;
    color: #8892b0;
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 100px;
    border-top: 1px solid rgba(0, 174, 239, 0.1);
}

/* Custom Alert Modal */
.custom-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-alert-content {
    background: rgba(21, 25, 50, 0.98);
    border: 1px solid rgba(0, 174, 239, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-alert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

.custom-alert-header svg {
    color: #00AEEF;
    flex-shrink: 0;
}

.custom-alert-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.custom-alert-body {
    padding: 24px;
}

.custom-alert-body p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
}

.custom-alert-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 174, 239, 0.2);
}

.custom-alert-btn {
    background: linear-gradient(135deg, #00AEEF, #00D9FF);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-alert-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.custom-alert-btn:active {
    transform: translateY(0);
}

/* Custom Date Range Picker Styles */
.drp-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.drp-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8892b0;
}

.drp-label .required {
    color: rgba(0, 174, 239, 1);
}

.drp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #121632 0, #070a1e 100%);
    border-radius: 999px;
    padding: 1px;
    box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.08);
}

.drp-input {
    width: 100%;
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    color: #ffffff;
    background: radial-gradient(circle at left, rgba(0, 217, 255, 0.12), transparent 50%),
        radial-gradient(circle at right, rgba(0, 102, 255, 0.16), transparent 52%),
        var(--secondary-bg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.drp-input::placeholder {
    color: #8892b0;
}

.drp-input-icon {
    position: absolute;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #00d9ff;
    opacity: 0.9;
}

.drp-panel {
    position: absolute;
    left: 0;
    width: 820px;
    max-width: min(100vw - 40px, 820px);
    background: radial-gradient(circle at top left, rgba(0, 217, 255, 0.25), transparent 60%),
        radial-gradient(circle at bottom right, rgba(0, 102, 255, 0.3), transparent 65%),
        rgba(10, 14, 39, 1);
    border-radius: 14px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    padding: 18px 20px 14px;
    z-index: 100;
    display: none;
}

.drp-panel-header {
    margin-bottom: 10px;
}

.drp-panel-title {
    font-size: 18px;
    font-weight: 600;
    color:white;
    margin-bottom: 4px;
}

.drp-panel-subtitle {
    font-size: 13px;
    color: #bbc5e5;
}

.drp-panel-body {
    padding: 10px 0 8px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(21, 25, 50, 0.94), rgba(7, 10, 30, 0.96));
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.drp-calendars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 16px 18px 12px;
}

.drp-calendar {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 55%),
        #11142e;
    border-radius: 10px;
    padding: 12px 12px 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.drp-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.drp-month-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex: 1 1 0;
    text-align: center;
}

.drp-nav-btn {
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 16px;
    color: #ffffff;
    background: rgba(0, 217, 255, 0.1);
    cursor: pointer;
    transition: background 120ms ease, transform 80ms ease;
}

.drp-nav-btn:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: translateY(-0.5px);
}

.drp-calendar-tag {
    display: none;
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #8892b0;
}

.drp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #8892b0;
    text-align: center;
}

.drp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.drp-day {
    position: relative;
    height: auto;
    aspect-ratio: 1;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    color: #ffffff;
    background: rgba(8, 11, 33, 0.9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease, transform 60ms ease;
}

.drp-day.empty {
    cursor: default;
    background: transparent;
    box-shadow: none;
}

.drp-day:not(.empty):hover {
    background: radial-gradient(circle at top, rgba(0, 217, 255, 0.3), rgba(0, 102, 255, 0.2));
    box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.8);
    transform: translateY(-0.5px);
}

.drp-day.in-range {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.16), rgba(0, 102, 255, 0.3));
    box-shadow: inset 0 0 0 1px rgba(0, 217, 255, 0.35);
}

.drp-day.start,
.drp-day.end {
    background: radial-gradient(circle at top, #00d9ff, #0066ff);
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(11, 16, 46, 0.5), 0 0 12px rgba(0, 163, 255, 0.8);
    font-weight: 600;
}

.drp-day.start:hover,
.drp-day.end:hover {
    background: radial-gradient(circle at top, #00d9ff, #0066ff) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(11, 16, 46, 0.5), 0 0 12px rgba(0, 163, 255, 0.8) !important;
    transform: none !important;
}

.drp-day.start::after,
.drp-day.end::after {
    display: none;
}

.drp-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 10px 8px;
    border-radius: 999px;
    background: rgba(3, 7, 28, 0.8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.drp-time-row label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #8892b0;
    margin-right: 4px;
}

.drp-time-row select {
    background: rgba(11, 16, 46, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: #ffffff;
    font-size: 14px;
    padding: 6px 12px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.drp-time-row select:focus {
    border-color: #00d9ff;
}

.drp-ampm-toggle {
    background: rgba(11, 16, 46, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: #ffffff;
    font-size: 14px;
    padding: 6px 16px;
    outline: none;
    cursor: pointer;
    transition: all 120ms ease;
    min-width: 60px;
    font-weight: 500;
}

.drp-ampm-toggle:hover {
    border-color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
}

.drp-ampm-toggle:active {
    transform: scale(0.95);
}

.drp-time-separator {
    font-size: 14px;
    color: #8892b0;
    padding: 0 2px;
}

.drp-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
}

.drp-footer-actions {
    display: flex;
    gap: 8px;
}

.drp-btn {
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 120ms ease, box-shadow 120ms ease, transform 60ms ease;
}

.drp-btn.ghost {
    background: rgba(4, 9, 30, 0.7);
    color: #8892b0;
    box-shadow: 0 0 0 1px rgba(162, 168, 211, 0.3);
}

.drp-btn.ghost:hover {
    color: #ffffff;
    background: rgba(10, 14, 39, 0.95);
}

.drp-btn.primary {
    background: linear-gradient(135deg, #00d9ff, #0066ff);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.5);
}

.drp-btn.primary:hover {
    box-shadow: 0 14px 40px rgba(0, 163, 255, 0.7);
    transform: translateY(-1px);
}

/* Time Range Quick Selection Buttons */
.time-range-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.time-range-btn {
    padding: 0.5rem 1rem;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.time-range-btn:hover {
    background: rgba(0, 174, 239, 0.2);
    border-color: #00AEEF;
    transform: translateY(-1px);
}

.time-range-btn:active,
.time-range-btn.active {
    background: linear-gradient(135deg, #00AEEF, #00D9FF);
    border-color: #00AEEF;
    color: white;
    transform: translateY(0);
}

/* Responsive Styles for Monitoring New */
@media (max-width: 1024px) {
    .content-card-wide {
        width: 90%;
    }
    
    .drp-panel {
        width: 100%;
    }
    .drp-calendars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-card-wide {
        width: 90%;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .drp-panel {
        width: 100%;
    }
    .drp-calendars {
        grid-template-columns: 1fr;
    }
}
