/* Solution Match Portal - Stitch-Aligned Fiverr Style Sheet */

:root {
    --primary: #ab0b13; /* Stitch primary red */
    --primary-container: #cf2c28; /* Stitch primary-container red */
    --secondary: #535f6f; /* Stitch secondary slate */
    --bg-color: #f8f9fb; /* Stitch surface */
    --text-color: #191c1e; /* Stitch on-surface */
    --border-color: #e1e2e4; /* Stitch surface-variant */
    --glow-color: rgba(207, 44, 40, 0.15);
}

/* Base Body with Stitch Ambient Grid Pattern */
body {
    background-color: var(--bg-color);
    background-image: radial-gradient(rgba(207, 44, 40, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(171, 11, 19, 0.15);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(171, 11, 19, 0.3);
}

/* Left Sidebar Drawer Navigation (MenuBar - Glassmorphic) */
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: rgba(248, 249, 251, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sidebar-drawer.open {
    transform: translateX(0);
}

/* Backdrop Overlay */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(25, 28, 30, 0.3);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* Utility to hide scrollbars on horizontal link bar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* SPA Section Transitions */
.view-section {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: none;
}

.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Action Button styles */
.btn-outline {
    border: 1px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: rgba(207, 44, 40, 0.05);
    box-shadow: 0 2px 10px rgba(207, 44, 40, 0.1);
}

.btn-filled {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px var(--glow-color);
}

.btn-filled:hover {
    background-color: var(--primary-container);
    box-shadow: 0 6px 16px rgba(207, 44, 40, 0.3);
}
