/* Business Days - Global Styles (Modernized) */
:root {
    --bg: #f8fafc;
    --bg-gradient: radial-gradient(circle at 15% 50%, rgba(237, 20, 91, 0.04), transparent 30%),
                   radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.04), transparent 40%);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent: #ed145b;
    --accent-hover: #d10d4a;
    --accent-gradient: linear-gradient(135deg, #ed145b, #ff4785);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --border: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --glow: 0 0 20px rgba(237, 20, 91, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease, color 0.3s ease;
    overflow-x: hidden;
}

#app-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    margin-bottom: 4rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 4px;
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-btn:hover .logo-text::after {
    transform: scaleX(1.1);
}

.brand-btn {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
    display: inline-block;
}

.brand-btn:hover {
    transform: translateY(-1px);
}

.brand-row {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    opacity: 0.05;
}

.dark-theme .nav-link:hover::before {
    opacity: 0.1;
}

.nav-link.active {
    color: var(--accent);
    background: transparent;
}

.nav-link.active::before {
    background: var(--accent);
    opacity: 0.08;
}

.actions {
    display: flex;
    gap: 1rem;
}

.btn-icon {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(237, 20, 91, 0.2);
}

.btn-icon:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-icon:hover svg {
    transform: rotate(15deg);
}

/* Specific rotation for theme button */
#themeToggle:hover svg {
    transform: rotate(45deg);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-links {
    display: flex;
    gap: 2rem;
}

.f-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.f-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.f-links a:hover {
    color: var(--text-primary);
}

.f-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 768px) {
    #app-wrapper {
        padding: 1.5rem;
    }
    .nav-links {
        display: none; /* Mobile menu could be added here later */
    }
}
