/* password-generator 页面专属样式 - 仅保留 Tailwind 无法覆盖的功能性样式 */

/* 平滑滚动 */
html { scroll-behavior: smooth; }

/* 广告位：2xl 以下屏幕隐藏左右广告位，避免布局跳动 */
@media (max-width: 1535px) {
    nav + main .hidden:first-child,
    nav + main .hidden:last-child { display: none !important; }
}

/* Toast 通知定位 */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* 自定义滑块滑块样式 */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.5);
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.4);
}

/* 复选框过渡 */
.checkbox-wrapper input[type="checkbox"] {
    transition: all 0.15s ease;
}

/* 密码字符类型高亮配色 */
.char-highlight { transition: color 0.15s ease; }
.char-lower { color: #0ea5e9; }
.char-upper { color: #8b5cf6; }
.char-number { color: #10b981; }
.char-symbol { color: #f59e0b; }

/* 卡片悬停光晕 */
.card-glow { transition: box-shadow 0.2s ease; }
.card-glow:hover {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15), 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* 装饰性背景圆 */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.05));
    pointer-events: none;
}
