/* Happy Buttons GmbH - Shared Stylesheet */

:root {
    --royal-blue: #2E4BC6;
    --royal-purple: #7C3AED;
    --royal-gold: #F59E0B;
    --royal-dark: #1E293B;
    --royal-light: #F8FAFC;
}

/* Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--royal-light) 0%, #E0E7FF 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar-royal {
    background: linear-gradient(90deg, var(--royal-blue), var(--royal-purple));
    box-shadow: 0 4px 20px rgba(46, 75, 198, 0.3);
}

.navbar-royal .navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar-royal .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-royal .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-royal .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-royal .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
}

.navbar-royal .dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.navbar-royal .dropdown-item:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--royal-purple));
    color: #fff;
}

.navbar-royal .dropdown-item.active,
.navbar-royal .dropdown-item:active {
    background: linear-gradient(135deg, var(--royal-blue), var(--royal-purple));
    color: #fff;
}

.navbar-royal .btn-logout {
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s ease;
}

.navbar-royal .btn-logout:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-royal .user-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-right: 0.75rem;
}

/* Cards */
.card-royal {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.card-royal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-purple) 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
}

/* Status badges */
.badge-royal {
    padding: 0.4em 0.8em;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge-success { background: #10B981; }
.badge-warning { background: var(--royal-gold); }
.badge-danger { background: #EF4444; }
.badge-info { background: var(--royal-blue); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Utility */
.text-royal-blue { color: var(--royal-blue); }
.text-royal-purple { color: var(--royal-purple); }
.text-royal-gold { color: var(--royal-gold); }
.bg-royal-gradient {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-purple) 100%);
}
