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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: fixed;
    overscroll-behavior: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.85) 50%, rgba(15, 15, 15, 0.85) 100%),
        url('wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #f5f5f5;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(58, 44, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 223, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(95, 71, 11, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 4.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    justify-content: flex-start;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.glass-panel {
    background: rgba(255, 255, 255, 0.021);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.137);
}

.server-selector-sticky {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.server-select-sticky {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    color: #f5f5f5;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

.server-select-sticky:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.server-select-sticky:focus {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.server-select-sticky option {
    background: #1a1a1a;
    color: #f5f5f5;
}

.quick-nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.quick-nav-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    color: #f5f5f5;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    line-height: 1;
}

.quick-nav-btn:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

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

.quick-nav-btn span {
    display: block;
    font-size: 1.2rem;
}

.quick-nav-icon {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.menu-sticky {
    position: fixed;
    top: 0.75rem;
    left: 1rem;
    z-index: 1100;
}

.logo-sticky-right {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    width: auto;
}

.burger-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    outline: none;
}

.burger-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.burger-menu-btn.active {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.burger-line {
    width: 24px;
    height: 2px;
    background: #f5f5f5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 220px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1200;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.menu-dropdown::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.menu-sticky.active .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #f5f5f5;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 215, 0, 0.9);
}

.menu-item.active {
    background: rgba(255, 215, 0, 0.15);
    color: rgba(255, 215, 0, 0.95);
    border-left: 3px solid rgba(255, 215, 0, 0.6);
    cursor: default;
    pointer-events: none;
}

.menu-item.active:hover {
    background: rgba(255, 215, 0, 0.15);
    color: rgba(255, 215, 0, 0.95);
}

.menu-item-text {
    display: block;
}

.nav-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #f5f5f5;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.nav-button:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.nav-button:active {
    transform: translateY(0);
}

/* Custom Language Selector */
.custom-language-select {
    position: relative;
    width: auto;
    display: inline-block;
    flex-shrink: 0;
}

.custom-language-select-trigger {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0;
    color: #f5f5f5;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    user-select: none;
    justify-content: center;
}

.custom-language-select-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.custom-language-select.open .custom-language-select-trigger {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.custom-language-select-trigger .flag-icon {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}


.custom-language-select-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: fit-content;
    min-width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1200;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.custom-language-select-options::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.custom-language-select.open .custom-language-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-language-option {
    padding: 0.5rem 0.6rem;
    color: #f5f5f5;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    white-space: nowrap;
}

.custom-language-option:last-child {
    border-bottom: none;
}

.custom-language-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.custom-language-option .flag-icon {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.is-rounded {
    border-radius: 50%;
}

.is-48x48 {
    width: 48px;
    height: 48px;
    object-fit: cover;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.glass-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #f5f5f5;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.glass-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.glass-select:focus {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.glass-select option {
    background: #1a1a1a;
    color: #f5f5f5;
}

.timers-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    max-width: 200px;
}

.timer-panel {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-name {
    font-size: 0.95rem;
    color: #e0e0e0;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.circular-timer {
    width: 100%;
    height: 100%;
    position: relative;
}

.circular-timer svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-timer circle {
    fill: none;
    stroke-width: 10;
}

.circular-timer .bg-circle {
    stroke: rgba(255, 255, 255, 0.1);
}

.circular-timer .progress-circle {
    stroke: rgba(255, 215, 0, 0.6);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.timer-time {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.3);
    line-height: 1.2;
}

.timer-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
    width: 100%;
}

.reminder-panel-toggle-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: #f5f5f5;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.reminder-panel-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.reminder-panel-toggle-btn .toggle-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.reminder-panel-toggle-btn.expanded .toggle-arrow {
    transform: rotate(180deg);
}

.reminder-panel {
    width: 100%;
    max-width: 600px;
    padding: 0 !important;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 0;
    opacity: 0;
    margin: 0 auto;
    margin-top: 1.5rem;
}

.reminder-panel.expanded {
    max-height: none;
    opacity: 1;
    padding: 1rem 1.5rem !important;
    margin-top: 0.75rem;
    overflow: hidden;
}

.reminder-panel-content {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.reminder-panel.expanded .reminder-panel-content {
    opacity: 1;
}

.reminder-panel h3 {
    display: none; /* Removed since it's obvious */
}

.reminder-event-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.repeatable-mode-toggle-container {
    display: none; /* Not used anymore */
}

.repeatable-mode-desc-plate {
    width: 100%;
    margin: 0.25rem auto 0;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repeatable-mode-desc-plate .repeatable-mode-toggle {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
}

.repeatable-mode-desc-plate .toggle-slider {
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
}

.repeatable-mode-desc-plate .toggle-label {
    flex-shrink: 0;
    line-height: 1.5;
    margin: 0;
    vertical-align: middle;
    display: inline-block;
}

.repeatable-mode-desc-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    opacity: 0.7;
    white-space: nowrap;
    margin-left: 0.25rem;
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-block;
}

.repeatable-mode-desc-text em strong {
    font-style: italic;
    font-weight: 700;
}


.repeatable-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.repeatable-mode-desc-plate .repeatable-mode-toggle {
    align-items: center;
}

.repeatable-mode-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: relative;
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.repeatable-mode-desc-plate .toggle-slider {
    width: 40px;
    height: 20px;
}

.repeatable-mode-desc-plate .toggle-slider::before {
    width: 16px;
    height: 16px;
    left: 2px;
    top: 1px;
}

.repeatable-mode-desc-plate input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.repeatable-mode-desc-plate .toggle-label {
    font-size: 0.85rem;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 1px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.repeatable-mode-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.repeatable-mode-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: rgba(255, 215, 0, 0.9);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.toggle-label {
    font-size: 0.85rem;
    color: #f5f5f5;
    font-weight: 500;
}

.repeatable-mode-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.reminder-event-selector .glass-select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reminder-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.test-reminder-btn-icon {
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.test-reminder-btn-icon:hover {
    background: rgba(255, 140, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.test-reminder-btn-icon:active {
    transform: translateY(0);
}

.reminder-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    color: #f5f5f5;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 500;
}

.reminder-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.reminder-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.reminder-btn.exceeds-interval {
    filter: grayscale(70%);
    opacity: 0.6;
    cursor: not-allowed;
}

.reminder-btn.active {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.active-reminders {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reminder-label {
    font-size: 0.75rem;
    color: #d0d0d0;
    margin-bottom: 0.5rem;
    text-align: center;
}

.reminder-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.reminder-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.reminder-badge {
    background: rgba(255, 223, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reminder-badge .remove-btn {
    background: rgba(255, 69, 0, 0.4);
    border: 1px solid rgba(255, 69, 0, 0.6);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
    color: #f5f5f5;
    flex-shrink: 0;
}

.reminder-badge .remove-btn:hover {
    background: rgba(255, 69, 0, 0.6);
    transform: scale(1.1);
}

/* Reminder Popup */
.reminder-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.reminder-popup-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.reminder-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 26, 0.7) 50%, rgba(15, 15, 15, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.reminder-popup.active {
    opacity: 1;
    pointer-events: all;
}

.reminder-popup-content {
    background: rgba(255, 140, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 
        0 8px 32px 0 rgba(255, 140, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 2;
}

.reminder-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reminder-popup-header h2 {
    font-size: 1.5rem;
    color: #f5f5f5;
    margin: 0;
    font-weight: 600;
}

.close-popup-btn {
    background: rgba(255, 69, 0, 0.4);
    border: 1px solid rgba(255, 69, 0, 0.6);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #f5f5f5;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.close-popup-btn:hover {
    background: rgba(255, 69, 0, 0.6);
    transform: scale(1.1);
}

.reminder-popup-body {
    text-align: center;
}

.reminder-popup-body p {
    font-size: 1.2rem;
    color: #f5f5f5;
    margin: 0;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    white-space: pre-line;
}

.pending-reminders-panel {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: block; /* Always show panel when popup is active */
}

.pending-reminders-panel:empty,
.pending-reminders-panel:has(.pending-reminders-list:empty) {
    display: none; /* Hide only when empty */
}

.pending-reminders-panel::-webkit-scrollbar {
    display: none;
}

.pending-reminders-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pending-reminder-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
}

.pending-reminder-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.pending-reminder-name {
    color: #f5f5f5;
    font-weight: 500;
}

.pending-reminder-time {
    color: rgba(255, 215, 0, 0.8);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.pending-reminder-progress {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.pending-reminder-progress-bar {
    height: 100%;
    background: rgba(255, 165, 0, 0.8);
    border-radius: 0;
    width: 100%;
    transform-origin: left;
    transition: transform 1s linear;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.4),
                0 0 20px rgba(255, 165, 0, 0.2);
    position: relative;
    will-change: transform;
}


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

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.clear-all-reminders-btn-small {
    background: rgba(255, 69, 0, 0.2);
    border: 1px solid rgba(255, 69, 0, 0.4);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.75rem;
}

.clear-all-reminders-btn-small:hover {
    background: rgba(255, 69, 0, 0.35);
    border-color: rgba(255, 69, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.ready-btn {
    background: rgba(76, 175, 80, 0.4);
    border: 1px solid rgba(76, 175, 80, 0.6);
    border-radius: 8px;
    color: #f5f5f5;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.ready-btn:hover {
    background: rgba(76, 175, 80, 0.6);
    border-color: rgba(76, 175, 80, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

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

.season-banner {
    position: fixed;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(186, 85, 211, 0.4);
    z-index: 1050;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: height 0.25s ease, opacity 0.25s ease;
}

.season-banner.hidden {
    display: none;
}

.season-banner.collapsed {
    height: 42px;
}

.season-banner.collapsed .season-banner-content {
    display: none;
}

.season-banner.collapsed .season-banner-bg {
    filter: blur(2px) brightness(0.6);
}

.season-banner-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(128, 0, 128, 0.4), rgba(220, 20, 60, 0.35)),
        url('wallpaper-season.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(0.8);
    transform: scale(1.05);
}

.season-banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
}

.season-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(186, 85, 211, 0.6);
}

.season-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow:
        0 0 12px rgba(255, 254, 254, 0.7),
        0 0 24px rgba(186, 85, 211, 0.5);
    letter-spacing: 0.08em;
}

.abyss-reset {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.abyss-label {
    letter-spacing: 0.03em;
}

.abyss-time {
    font-weight: 700;
    color: #ff6b6b;
    text-shadow:
        0 0 10px rgba(255, 107, 107, 0.7),
        0 0 20px rgba(255, 50, 50, 0.5);
}

.season-toggle {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: #f5f5f5;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.season-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.6);
}

.season-toggle.rotated {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    html, body {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        height: auto;
        /* Hide scrollbar for Chrome, Safari and Opera */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    body {
        min-height: 100vh;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
    }
    
    .container {
        max-height: none;
        min-height: auto;
        padding: 1rem;
        padding-top: 5rem;
        padding-bottom: 8rem;
        gap: 1.5rem;
        overflow-y: visible;
        overflow-x: hidden;
    }
    
    .timers-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .timer-panel {
        width: 160px;
        height: 160px;
    }
    
    .timer-time {
        font-size: 1.5rem;
    }
    
    .timer-name {
        font-size: 0.85rem;
        max-width: 180px;
    }
    
    .reminder-panel.expanded {
        max-height: none;
        overflow: visible;
    }
    
    .reminder-panel-content {
        overflow: visible;
    }
    
    .reminder-panel-toggle-btn {
        margin-bottom: 0.5rem;
    }
    
    .repeatable-mode-desc-plate {
        max-width: 100%;
        padding: 0.5rem 0.75rem;
        margin-top: 0.4rem;
    }
    
    .repeatable-mode-desc-plate .repeatable-mode-toggle {
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
    }
    
    .repeatable-mode-desc-text {
        font-size: 0.65rem;
        white-space: normal;
        line-height: 1.2;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .reminder-popup-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .reminder-popup-header h2 {
        font-size: 1.2rem;
    }
    
    .reminder-popup-body p {
        font-size: 1rem;
    }
    
    .reminder-popup-video {
        opacity: 0.5;
    }

    .season-banner {
        height: 100px;
    }

    .season-timer {
        font-size: 1.5rem;
    }

    .abyss-reset {
        font-size: 0.8rem;
    }
}

/* Checklist Page Styles */
.checklist-container {
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 1.5rem;
    padding-top: 4.5rem;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.checklist-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.checklist-panel {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.checklist-panel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.checklist-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.checklist-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f5f5;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
}

.reset-checklist-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #f5f5f5;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.reset-checklist-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.reset-checklist-btn:active {
    transform: rotate(180deg) scale(0.95);
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    width: 100%;
}

.custom-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(4px);
}

.custom-checkbox-label:has(.custom-checkbox:checked) {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
}

.custom-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox-mark {
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-checkbox-label:hover .custom-checkbox-mark {
    border-color: rgba(255, 215, 0, 0.7);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

.custom-checkbox:checked + .custom-checkbox-mark {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 223, 0, 0.8));
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 
        0 0 16px rgba(255, 215, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.custom-checkbox:checked + .custom-checkbox-mark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(10, 10, 10, 0.9);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.checklist-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.checklist-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f5f5f5;
    line-height: 1.3;
}

.custom-checkbox:checked ~ .checklist-item-content .checklist-item-title {
    color: rgba(255, 215, 0, 0.95);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.checklist-item-description {
    font-size: 0.75rem;
    color: rgba(150, 150, 150, 0.8);
    line-height: 1.4;
}

.custom-checkbox:checked ~ .checklist-item-content .checklist-item-description {
    color: rgba(150, 150, 150, 0.9);
}

@media (max-width: 768px) {
    .server-selector-sticky {
        top: 0.75rem;
    }
    
    .server-selector-sticky .server-select-sticky {
        min-width: auto;
        width: 100%;
    }
    
    .menu-dropdown {
        width: 200px;
    }
    
    .checklist-container {
        padding: 1rem;
        padding-top: 5rem;
        max-height: 100vh;
        /* Hide scrollbar for Chrome, Safari and Opera */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .checklist-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .checklist-panel {
        max-height: calc(100vh - 6rem);
        /* Hide scrollbar for Chrome, Safari and Opera */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .checklist-panel::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .checklist-header {
        margin-bottom: 1rem;
        gap: 0.75rem;
    }
    
    .checklist-title {
        font-size: 1.25rem;
        margin: 0;
    }
    
    .reset-checklist-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .checklist-items {
        gap: 0.5rem;
    }
    
    .custom-checkbox-label {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .custom-checkbox-mark {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        margin-top: 1px;
    }
    
    .custom-checkbox:checked + .custom-checkbox-mark::after {
        font-size: 12px;
    }
    
    .checklist-item-title {
        font-size: 0.9rem;
    }
    
    .checklist-item-description {
        font-size: 0.7rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #f5f5f5;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    min-width: 280px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast-success {
    border-left: 4px solid rgba(76, 175, 80, 0.8);
    background: rgba(76, 175, 80, 0.1);
}

.toast-info {
    border-left: 4px solid rgba(33, 150, 243, 0.8);
    background: rgba(33, 150, 243, 0.1);
}

.toast-warning {
    border-left: 4px solid rgba(255, 193, 7, 0.8);
    background: rgba(255, 193, 7, 0.1);
}

.toast-error {
    border-left: 4px solid rgba(244, 67, 54, 0.8);
    background: rgba(244, 67, 54, 0.1);
}

@media (max-width: 768px) {
    .toast-container {
        top: 4rem;
        right: 0.5rem;
        left: 0.5rem;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .toast.hide {
        transform: translateY(-100px);
    }
}

/* Changelog Page Styles */
.changelog-container {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5rem;
    padding-top: 5rem;
    max-width: 1400px;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.changelog-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.changelog-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.changelog-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5f5f5;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
}

.changelog-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.changelog-entry {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(4px);
}

.changelog-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.9);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
}

.changelog-changes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.changelog-change {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.changelog-change:hover {
    background: rgba(255, 255, 255, 0.05);
}

.changelog-type-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
}

.changelog-change-added .changelog-type-badge {
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: rgba(76, 175, 80, 0.9);
}

.changelog-change-changed .changelog-type-badge {
    background: rgba(33, 150, 243, 0.3);
    border: 1px solid rgba(33, 150, 243, 0.5);
    color: rgba(33, 150, 243, 0.9);
}

.changelog-change-fixed .changelog-type-badge {
    background: rgba(255, 193, 7, 0.3);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: rgba(255, 193, 7, 0.9);
}

.changelog-change-removed .changelog-type-badge {
    background: rgba(244, 67, 54, 0.3);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: rgba(244, 67, 54, 0.9);
}

.changelog-change-security .changelog-type-badge {
    background: rgba(156, 39, 176, 0.3);
    border: 1px solid rgba(156, 39, 176, 0.5);
    color: rgba(156, 39, 176, 0.9);
}

.changelog-change-deprecated .changelog-type-badge {
    background: rgba(158, 158, 158, 0.3);
    border: 1px solid rgba(158, 158, 158, 0.5);
    color: rgba(158, 158, 158, 0.9);
}

.changelog-description {
    flex: 1;
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.changelog-error,
.changelog-empty {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .server-selector-sticky {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-nav-buttons {
        gap: 0.4rem;
    }
    
    .quick-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .quick-nav-btn span {
        font-size: 1rem;
    }
    
    .quick-nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .changelog-container {
        padding: 1rem;
        padding-top: 5rem;
    }
    
    .changelog-title {
        font-size: 1.5rem;
    }
    
    .changelog-header {
        margin-bottom: 1.5rem;
    }
    
    .changelog-entry {
        padding: 1rem;
    }
    
    .changelog-date {
        font-size: 1rem;
    }
    
    .changelog-change {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .changelog-type-badge {
        align-self: flex-start;
        min-width: auto;
    }
    
    .changelog-description {
        font-size: 0.85rem;
    }
}

