/* Button styles for new pages */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

/* Default styles (light mode) */
.btn-primary {
    background-color: oklch(0.72 0.17 222) !important;
    color: white !important;
    border: 2px solid oklch(0.72 0.17 222);
    box-shadow: 0 0 20px oklch(0.72 0.17 222 / 0.4), 0 0 40px oklch(0.72 0.17 222 / 0.4);
}

.btn-primary:hover {
    background-color: #FFFFFF !important;
    color: oklch(0.72 0.17 222) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px oklch(0.72 0.17 222), 0 0 40px oklch(0.72 0.17 222), 0 5px 15px oklch(0.72 0.17 222 / 0.4);
}

/* Dark mode overrides using data-theme attribute */
[data-theme="dark"] .btn-primary {
    background-color: oklch(0.72 0.17 222) !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: #000000 !important;
    color: white !important;
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color, oklch(0.46 0.14 240));
    border: 2px solid var(--secondary-color, oklch(0.46 0.14 240));
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: var(--secondary-color, oklch(0.46 0.14 240));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

[data-theme="dark"] .btn-secondary {
    color: oklch(0.82 0.09 220);
    border-color: oklch(0.82 0.09 220);
}

[data-theme="dark"] .btn-secondary:hover {
    background: oklch(0.82 0.09 220);
    color: #000000;
    box-shadow: 0 5px 15px rgba(137, 207, 243, 0.3);
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: oklch(0.72 0.17 222);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: oklch(0.62 0.17 222);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: oklch(0.72 0.17 222) rgba(0, 0, 0, 0.1);
}