/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

/* Container Styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.form-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Form Styles */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #6c757d;
    border: 2px solid #6c757d;
}

.btn-secondary:hover {
    background: transparent;
    color: #6c757d;
    box-shadow: none;
}

/* Message Styles */
.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.message.warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.message.error {
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid #f5c6cb;
}

.message-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
}

.message-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #15803d, #14532d);
}

.message.warning .message-progress-fill {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.message.error .message-progress-fill {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.message-fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

/* Links */
.links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.links p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.links a:hover {
    color: var(--accent-color);
}

/* Dashboard Main Content */
.dashboard-main {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.5s ease-out;
}

.card h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.card p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.status-active {
    color: var(--success-color);
    font-weight: bold;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-buttons .btn {
    width: auto;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-box {
        padding: 25px 20px;
        max-width: 95%;
        margin: 10px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .header-actions {
        align-self: flex-end;
        width: 100%;
        justify-content: flex-end;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .dashboard-main {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h2 {
        font-size: 1.2rem;
    }
    
    .input-group {
        margin-bottom: 15px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 12px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .links {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .links p {
        font-size: 0.85rem;
    }
    
    .action-buttons .btn {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* Extra small devices (phones, 320px and up) */
@media (max-width: 480px) {
    .form-box {
        padding: 20px 15px;
        max-width: 100%;
        margin: 5px;
    }
    
    .dashboard-header {
        padding: 15px;
        gap: 10px;
    }
    
    .header-content h1 {
        font-size: 1.3rem;
    }
    
    .header-content p {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .dashboard-main {
        padding: 15px;
        gap: 15px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .card p {
        font-size: 0.9rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .links p {
        font-size: 0.8rem;
    }
    
    .action-buttons .btn {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .message {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 481px) and (max-width: 768px) {
    .form-box {
        padding: 30px 25px;
    }
    
    .dashboard-header {
        padding: 25px;
    }
    
    .header-content h1 {
        font-size: 1.4rem;
    }
    
    .dashboard-main {
        padding: 25px;
        gap: 25px;
    }
    
    .card {
        padding: 25px;
    }
    
    .card h2 {
        font-size: 1.15rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 13px;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 13px;
        font-size: 0.9rem;
    }
}

/* Medium devices (tablets, 769px and up) */
@media (min-width: 769px) and (max-width: 1024px) {
    .form-box {
        max-width: 450px;
        padding: 35px;
    }
    
    .dashboard-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 30px;
    }
    
    .card {
        padding: 25px;
    }
    
    .card h2 {
        font-size: 1.2rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 14px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px;
        font-size: 0.95rem;
    }
}

/* Large devices (desktops, 1025px and up) */
@media (min-width: 1025px) {
    .form-box {
        max-width: 500px;
        padding: 40px;
    }
    
    .dashboard-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 40px;
    }
    
    .card {
        padding: 30px;
    }
    
    .card h2 {
        font-size: 1.3rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 15px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 15px;
        font-size: 1rem;
    }
}

/* Animation for buttons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn:hover {
    animation: pulse 0.3s ease-in-out;
}

/* Focus styles for accessibility */
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Additional visual enhancements */
.form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--radius);
    z-index: -1;
}

/* Loading animation for buttons */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

/* Action Form Styles */
.action-form {
    display: none;
    animation: slideDown 0.3s ease-out;
}

.action-form h2 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
}

/* Select dropdown styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Responsive adjustments for forms */
@media (max-width: 768px) {
    .action-form {
        padding: 20px;
    }
    
    .action-form h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions .btn {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .action-form {
        padding: 15px;
    }
    
    .action-form h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .form-actions {
        gap: 8px;
    }
    
    .form-actions .btn {
        padding: 8px;
        font-size: 0.85rem;
    }
}

/* Statistics section styling */
#shiko-statistikat {
    text-align: center;
}

#shiko-statistikat p {
    font-size: 1.1rem;
    color: var(--light-text);
    font-style: italic;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-live-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 48px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    margin-left: 12px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-menu .nav-item:last-child {
    margin-left: auto;
}

.nav-menu .pending-balance-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.nav-link-logout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #dc2626;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.25);
    transition: all 0.25s ease;
}

.nav-link-logout:hover {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(220, 38, 38, 0.35);
}

.nav-link-logout::after {
    display: none !important;
}

.nav-user-item {
    position: relative;
    margin-left: auto;
}

.nav-other-item {
    position: relative;
}

.nav-other-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: .84rem;
    font-weight: 750;
}

.nav-other-btn:hover,
.nav-other-btn[aria-expanded="true"] {
    border-color: #a5b4fc;
    background: #eef2ff;
    color: #4338ca;
}

.nav-other-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1300;
    display: none;
    min-width: 148px;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
}

.nav-other-dropdown.active {
    display: grid;
}

.nav-other-dropdown .nav-link {
    padding: 8px 9px;
    border-bottom: 0;
    border-radius: 8px;
    color: #334155;
    font-size: .8rem;
}

.nav-other-dropdown .nav-link:hover,
.nav-other-dropdown .nav-link.active {
    background: #eef2ff;
    color: #4338ca;
}

.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5ff 100%);
    border-radius: 999px;
    padding: 6px 12px;
    color: #1f2937;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.12);
}

.nav-user-btn:hover {
    border-color: #a5b4fc;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(59, 130, 246, 0.18);
}

.nav-user-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.9rem;
}

.nav-user-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    min-width: 246px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: none;
    z-index: 1300;
}

.nav-user-dropdown.active {
    display: block;
}

.nav-user-dropdown .nav-link-logout {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    padding: 5px 8px;
    font-size: 0.74rem;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.18);
}

.nav-user-dropdown .nav-link {
    border-bottom: 0;
    padding: 5px 8px;
}

.nav-user-dropdown .nav-link-account {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 10px !important;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    color: #334155;
    text-align: left;
    white-space: normal;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-user-dropdown .nav-link-account:hover,
.nav-user-dropdown .nav-link-account.active {
    border-color: #a5b4fc;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, .14);
}

.nav-link-account::after {
    display: none !important;
}

.nav-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 7px 14px rgba(79, 70, 229, .24);
}

.nav-account-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.nav-account-copy strong {
    color: #1e293b;
    font-size: .82rem;
    line-height: 1.2;
}

.nav-account-copy small {
    color: #64748b;
    font-size: .68rem;
    line-height: 1.2;
}

.nav-account-arrow {
    color: #818cf8;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform .2s ease;
}

.nav-link-account:hover .nav-account-arrow {
    transform: translateX(2px);
}

.account-settings-page {
    min-height: calc(100vh - 70px);
    padding-top: 48px;
    padding-bottom: 48px;
}

.account-settings-page .form-box {
    max-width: 460px;
}

.account-settings-intro {
    margin: -16px 0 26px;
    color: var(--light-text);
    line-height: 1.5;
    text-align: center;
}

.account-settings-page .input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.password-help {
    display: block;
    margin-top: 7px;
    color: var(--light-text);
    font-size: 0.82rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1101;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Form Container Styles */
.form-container {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
    appearance: none;
    cursor: pointer;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
    pointer-events: none;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.user-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M4 21v-2a4 4 0 0 1 3-3.87'%3E%3C/path%3E%3Cpath d='M12 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M3 3h6v6H3z'%3E%3C/path%3E%3Cpath d='M21 3h-6v6h6z'%3E%3C/path%3E%3Cpath d='M12 3v6'%3E%3C/path%3E%3Cpath d='M12 15v6'%3E%3C/path%3E%3C/svg%3E");
}

.euro-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16'%3E%3C/path%3E%3Cpath d='M4 14h16'%3E%3C/path%3E%3Cpath d='M12 4v16'%3E%3C/path%3E%3Cpath d='M7 4h10'%3E%3C/path%3E%3Cpath d='M7 20h10'%3E%3C/path%3E%3C/svg%3E");
}

.location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 1 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.textarea-wrapper {
    position: relative;
}

.textarea-wrapper textarea {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.textarea-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.textarea-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.description-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'%3E%3C/path%3E%3Cpath d='M4 12h16'%3E%3C/path%3E%3Cpath d='M4 17h16'%3E%3C/path%3E%3Cpath d='M9 4h6'%3E%3C/path%3E%3Cpath d='M9 20h6'%3E%3C/path%3E%3C/svg%3E");
}

/* Form Section Styles */
.form-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideDown 0.3s ease-out;
}

.manual-distance-card {
    border: 1px solid #c7d2fe;
    background: linear-gradient(135deg, #eef2ff 0%, #f8faff 100%);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.08);
}

.manual-distance-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.manual-distance-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.manual-distance-title {
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.2px;
}

.manual-distance-help {
    color: #475569;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .manual-distance-label {
        align-items: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .manual-distance-help {
        width: 100%;
        margin-left: 30px;
    }
}

.section-header {
    margin-bottom: 25px;
    text-align: center;
}

.section-header h3 {
    margin: 0 0 5px 0;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.section-header p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-row .form-group.full-width {
    grid-column: 1 / -1;
}

/* Enhanced Button Styles */
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z'%3E%3C/path%3E%3Cpolyline points='17 21 17 13 7 13 7 21'%3E%3C/polyline%3E%3Cpolyline points='7 3 7 8 15 8'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

.btn-cancel {
    display: inline-block;
    padding: 15px 40px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #6c757d;
}

.btn-cancel:hover {
    background: transparent;
    color: #6c757d;
    transform: translateY(-2px);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

/* Message Container */
.message-container {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.share-copy-notice {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 3500;
    display: grid;
    gap: 14px;
    width: min(410px, calc(100vw - 44px));
    padding: 18px;
    border: 1px solid rgba(199, 210, 254, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    color: #312e81;
    box-shadow: 0 24px 65px rgba(15, 23, 42, .24), 0 8px 22px rgba(79, 70, 229, .12);
    backdrop-filter: blur(18px);
    animation: shareCardIn .38s cubic-bezier(.2,.8,.2,1);
    transition: opacity .22s ease, transform .22s ease, border-color .2s ease;
}

@keyframes shareCardIn {
    from { opacity: 0; transform: translateY(22px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.share-copy-notice.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.97);
}

.share-copy-notice.is-success {
    border-color: #86efac;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,253,244,.98));
}

.share-copy-notice.needs-action {
    border-color: #c4b5fd;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,243,255,.98));
}

.share-copy-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-copy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #4f46e5;
    box-shadow: inset 0 0 0 1px rgba(99,102,241,.1);
}

.share-copy-notice.is-success .share-copy-icon {
    background: #dcfce7;
    color: #15803d;
}

.share-copy-content {
    display: grid;
    flex: 1 1 auto;
    gap: 3px;
    min-width: 0;
    text-align: left;
}

.share-copy-content small {
    color: #6366f1;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.share-copy-content strong {
    color: #1e1b4b;
    font-size: 1rem;
}

.share-copy-content > span {
    color: #64748b;
    font-size: .8rem;
}

.share-copy-close {
    align-self: flex-start;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.share-copy-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.share-link-box {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
    color: #64748b;
}

.share-link-box svg {
    flex: 0 0 auto;
    color: #6366f1;
}

.share-link-box span {
    min-width: 0;
    overflow: hidden;
    color: #475569;
    font-size: .76rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-copy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-copy-button,
.share-open-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.share-copy-button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(79,70,229,.22);
}

.share-copy-button:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
}

.share-open-button {
    border-color: #cbd5e1;
    background: #fff;
    color: #334155;
}

.share-open-button:hover {
    border-color: #a5b4fc;
    background: #eef2ff;
    color: #4338ca;
}

@media (max-width: 520px) {
    .share-copy-notice {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        padding: 16px;
        border-radius: 18px;
    }
}

/* Responsive Design for New Styles */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 0 15px;
        height: 64px;
        min-height: 64px;
        gap: 10px;
    }

    .nav-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .nav-brand h1 {
        overflow: hidden;
        font-size: clamp(1.02rem, 5vw, 1.3rem);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-menu {
        margin-left: 0;
    }

    .nav-menu .nav-item:last-child {
        margin-left: 0 !important;
        align-self: center;
    }

    .nav-user-item {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .nav-other-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-other-dropdown {
        position: static;
        width: min(220px, calc(100vw - 32px));
        margin-top: 8px;
        box-shadow: none;
    }

    .nav-user-btn {
        margin: 0 auto;
    }

    .nav-user-dropdown {
        position: static;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid #e5e7eb;
        width: auto;
        min-width: 230px;
        max-width: min(246px, calc(100vw - 32px));
        align-self: center;
    }

    .nav-live-balance {
        flex: 0 1 auto;
        margin: 0;
        max-width: 43vw;
    }

    .nav-live-balance .pending-balance-badge {
        padding: 5px 10px;
        font-size: 0.78rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 14px 0 22px;
        backdrop-filter: blur(10px);
        z-index: 1100;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-user-dropdown .nav-link {
        padding: 6px 8px;
        border-bottom: 0;
        font-size: 0.76rem;
    }

    .nav-link-logout {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 6px;
        padding: 10px 16px;
        border-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .nav-user-dropdown .nav-link-logout {
        width: 100%;
        margin: 0;
        padding: 6px 8px;
        font-size: 0.76rem;
    }
    
    .hamburger {
        display: flex;
        flex: 0 0 auto;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .form-card {
        padding: 25px 20px;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit, .btn-cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }

    .nav-live-balance {
        max-width: 52vw;
        margin-right: 8px;
    }

    .nav-live-balance .pending-balance-badge {
        font-size: 0.72rem;
        padding: 4px 9px;
    }
    
    .form-card {
        padding: 20px 15px;
    }
    
    .form-header h1 {
        font-size: 1.7rem;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .input-wrapper input,
    .textarea-wrapper textarea,
    .select-wrapper select {
        padding: 12px 45px 12px 45px;
    }
    
    .btn-submit,
    .btn-cancel {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Statistics Page Styles */
.stats-container {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.stats-header {
    text-align: center;
    margin-bottom: 40px;
}

.stats-header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stats-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.stats-scope-toggle {
    margin: 14px auto 0;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    gap: 4px;
}

.scope-btn {
    border: 0;
    background: transparent;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.scope-btn:hover {
    background: rgba(102, 126, 234, 0.12);
    color: #3f51b9;
}

.scope-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(102, 126, 234, 0.35);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stats-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
    color: white;
}

.card-content h3 {
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-sections {
    display: grid;
    gap: 40px;
}

.stats-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-section h2 {
    margin: 0 0 25px 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
}

.label-text {
    font-size: 0.95rem;
}

.label-value {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.1rem;
}

.bar-track {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
}

.no-data {
    text-align: center;
    color: var(--light-text);
    font-style: italic;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.activity-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.type-bartje {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.type-shpenzim {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.activity-desc {
    font-size: 0.9rem;
    color: var(--light-text);
}

.activity-time {
    font-size: 0.85rem;
    color: var(--light-text);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
}

/* Responsive Design for Statistics */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-scope-toggle {
        width: 100%;
        max-width: 560px;
        justify-content: center;
    }

    .scope-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
    }
    
    .stats-section {
        padding: 20px 15px;
    }
    
    .stats-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .activity-item {
        padding: 15px;
        gap: 15px;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .stats-header h1 {
        font-size: 2rem;
    }

    .stats-scope-toggle {
        flex-direction: column;
        border-radius: 14px;
        padding: 8px;
        gap: 8px;
    }

    .scope-btn {
        width: 100%;
    }
    
    .stat-value {
        font-size: 1.7rem;
    }
    
    .activity-item {
        padding: 12px;
        gap: 12px;
    }
    
    .icon-circle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .activity-title {
        font-size: 1rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease-out;
}

.modal-content h2 {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1rem;
}

#access-password {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: #fafafa;
}

#access-password:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Input Icon Position Fix */
.input-wrapper input {
    padding: 15px 50px 15px 15px;
}

.input-icon {
    right: 15px;
    left: auto;
}

.euro-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16'%3E%3C/path%3E%3Cpath d='M4 14h16'%3E%3C/path%3E%3Cpath d='M12 4v16'%3E%3C/path%3E%3Cpath d='M7 4h10'%3E%3C/path%3E%3Cpath d='M7 20h10'%3E%3C/path%3E%3C/svg%3E");
}

/* Responsive Modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
    
    #access-password {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Barazimi Page Styles */
.barazimi-container {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.barazimi-header {
    text-align: center;
    margin-bottom: 40px;
}

.barazimi-header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.barazimi-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.barazimi-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.barazimi-section h2 {
    margin: 0 0 25px 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

/* Cashier Card */
.cashier-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cashier-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.current-cashier {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-cashier .label {
    font-weight: 600;
    color: var(--text-color);
}

.current-cashier .value {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.2rem;
}

.cashier-form {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cashier-form-inline {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cashier-form-inline select {
    min-width: 220px;
    flex: 1;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    padding: 10px 40px 10px 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    font-weight: 600;
    color: #1f2937;
    transition: all .2s ease;
}

.cashier-form-inline select:focus {
    outline: none;
    border-color: #7c9bff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.cashier-form .form-group {
    margin-bottom: 20px;
}

.cashier-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.cashier-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.cashier-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

/* Balance Actions */
.balance-actions {
    background: rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.barazo-filter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 14px;
}

.barazo-filter-form select {
    min-height: 42px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    padding: 8px 40px 8px 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    min-width: 200px;
    appearance: none;
    font-weight: 700;
    color: #1f2937;
    transition: all .2s ease;
}

.barazo-filter-form select:focus {
    outline: none;
    border-color: #7c9bff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.barazo-filter-form input[type="number"] {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e0;
    background: #fff;
    color: #1f2937;
    font-weight: 700;
    transition: all .2s ease;
}

.barazo-filter-form input[type="number"]:focus {
    outline: none;
    border-color: #7c9bff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.barazo-transfer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1fr);
    gap: 12px;
    width: 100%;
}

.barazo-field-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 18px rgba(59, 130, 246, 0.06);
}

.barazo-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #334155;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.barazo-amount-card {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.barazo-amount-input-wrap {
    position: relative;
}

.barazo-currency-chip {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #7c63e9 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.22);
    pointer-events: none;
    z-index: 2;
}

.barazo-filter-form .barazo-amount-input-wrap input[type="number"] {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px 12px 50px;
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    background: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.barazo-filter-form .barazo-amount-input-wrap input[type="number"]::placeholder {
    color: #94a3b8;
    font-weight: 700;
}

.barazo-filter-form .barazo-amount-input-wrap input[type="number"]:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14), inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.barazo-action-form .barazo-transfer-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.barazo-action-form .barazo-amount-card {
    padding: 12px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 18px rgba(59, 130, 246, 0.06);
}

.barazo-action-form .barazo-amount-input-wrap input[type="number"] {
    min-height: 52px;
    font-size: 1.02rem;
    letter-spacing: 0;
    border-width: 1px;
    padding-left: 50px;
}

.barazo-fund-help {
    flex-basis: 100%;
    font-size: 0.9rem;
    color: #475569;
    margin-top: 2px;
}

.barazo-filter-form select[name="mode"] {
    background-color: #f8fbff;
}

.barazo-action-form {
    margin-top: 12px;
}

.barazo-pro-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
    gap: 16px;
}

.barazimi-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.barazo-pro-left,
.barazo-pro-right {
    min-width: 0;
}

.barazo-summary-card {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.barazo-pro-section .balance-item {
    border-color: #e5e7eb;
    background: #ffffff;
}

.barazo-pro-section .balance-item .label {
    color: #475569;
}

.barazo-pro-section .balance-item .value {
    color: #1e3a8a;
}

.barazo-mode-note {
    margin: 12px 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5ff 100%);
    border: 1px solid #dbeafe;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.45;
}

.barazo-pro-right .balance-card {
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.barazo-pro-right .balance-card h3 {
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.barazo-pro-right .history-table th {
    background: #eef2ff;
    color: #334155;
}

.barazo-pro-right .history-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.cashier-bottom-section {
    margin-top: 10px;
}

.cashier-form-inline input[type="password"] {
    min-width: 220px;
    flex: 1;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

@media (max-width: 992px) {
    .barazo-pro-grid {
        grid-template-columns: 1fr;
    }

    .barazo-pro-right {
        margin-top: 4px;
    }
}

@media (max-width: 768px) {
    .cashier-form-inline input[type="password"] {
        width: 100%;
        min-width: 0;
    }

    .barazo-mode-note {
        font-size: 0.85rem;
        padding: 9px 10px;
    }

    .barazo-pro-right .balance-card {
        padding: 14px;
    }

    .barazo-pro-right .history-table table {
        min-width: 520px;
    }
}

.barazo-filter-form .btn-submit {
    min-height: 42px;
}

.barazimi-layout .pagination-controls {
    margin-top: 18px;
}

.barazimi-layout .history-table table tbody tr:hover td {
    background: #f8fafc;
}

.barazimi-layout .message.error {
    border-left: 4px solid #dc2626;
    background: #fef2f2;
    color: #991b1b;
}

.barazimi-layout .message.success {
    border-left: 4px solid #16a34a;
}

.barazimi-user-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.barazimi-user-chip strong {
    color: #1f2937;
    font-size: 0.95rem;
}

.barazimi-user-chip span {
    color: #64748b;
    font-size: 0.84rem;
}

.barazimi-user-chip.has-balance {
    border-color: #86efac;
    background: #f0fdf4;
    box-shadow: inset 0 0 0 1px #dcfce7;
}

.barazimi-user-chip.has-expense {
    border-color: #fecaca;
    background: #fff1f2;
    box-shadow: inset 0 0 0 1px #ffe4e6;
}

.barazimi-user-chip.has-balance.has-expense {
    border-color: #fda4af;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff1f2 100%);
}

.balance-form {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Balances Grid */
.balances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.balance-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.balance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
}

.balance-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.balance-date {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.balance-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-item .label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.balance-item .value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.balance-item .value.positive {
    color: #28a745;
}

.balance-item .value.negative {
    color: #dc3545;
}

/* History Table */
.history-table {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.history-table th,
.history-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
}

.history-table th {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    color: var(--text-color);
    position: sticky;
    top: 0;
    z-index: 1;
}

.history-table td {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.2);
}

.history-table td.positive {
    color: #28a745;
    font-weight: 700;
}

.history-table td.negative {
    color: #dc3545;
    font-weight: 700;
}

/* Responsive Design for Barazimi */
@media (max-width: 768px) {
    .cashier-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .balance-form {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .balances-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .history-table th,
    .history-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    .cashier-form-inline,
    .barazo-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .barazo-transfer-grid {
        grid-template-columns: 1fr;
    }

    .cashier-form-inline select,
    .barazo-filter-form select {
        width: 100%;
        min-width: 0;
    }

    .barazo-field-card,
    .barazo-amount-card,
    .barazo-amount-input-wrap,
    .barazo-filter-form .barazo-amount-input-wrap input[type="number"],
    .barazo-action-form .barazo-amount-input-wrap input[type="number"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .barazimi-header h1 {
        font-size: 2rem;
    }

    .barazo-pro-right .history-table table {
        min-width: 460px;
    }

    .barazo-pro-right .balance-item {
        padding: 9px;
    }

    .barazo-pro-right .balance-item .label {
        font-size: 0.84rem;
    }

    .barazo-pro-right .balance-item .value {
        font-size: 0.95rem;
    }
    
    .balance-item {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .balance-item .value {
        font-size: 1rem;
    }
    
    .history-table th,
    .history-table td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }

    .barazo-field-card,
    .barazo-amount-card {
        padding: 10px;
    }

    .barazo-currency-chip {
        left: 8px;
        min-width: 28px;
        height: 28px;
        font-size: 0.82rem;
    }

    .barazo-filter-form .barazo-amount-input-wrap input[type="number"],
    .barazo-action-form .barazo-amount-input-wrap input[type="number"] {
        min-height: 48px;
        font-size: 0.98rem;
        padding: 10px 12px 10px 44px;
    }
}

/* Pending Balance Badge */
.pending-balance-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.pending-balance-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Current-month personal earnings, kept compact without truncating the amounts. */
.nav-live-balance.nav-monthly-earnings {
    display: grid;
    gap: 4px;
    flex: 0 0 auto;
    max-width: none;
    margin-right: 20px;
}
.nav-monthly-earnings .nav-earning-badge {
    display: block;
    padding: 4px 10px;
    font-size: .76rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
.nav-monthly-earnings .nav-earning-private {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    box-shadow: 0 4px 12px rgba(99, 102, 241, .2);
}
@media (max-width: 768px) {
    .nav-live-balance.nav-monthly-earnings { margin: 0 8px 0 auto; flex-shrink: 0; }
    .nav-monthly-earnings .nav-earning-badge { padding: 4px 8px; font-size: .72rem; }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination .page-info {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Admin Panel Styles */
.admin-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.admin-header h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-actions {
    display: flex;
    gap: 15px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.status-approved {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.5);
}

.status-rejected {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.5);
}

.approval-actions {
    display: flex;
    gap: 10px;
}

.approval-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-approve {
    background: #28a745;
    color: white;
}

.btn-approve:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-reject {
    background: #dc3545;
    color: white;
}

.btn-reject:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Rejection Modal */
.rejection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.rejection-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
}

.rejection-form h3 {
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.rejection-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 20px;
    font-family: inherit;
}

.rejection-form .modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* User Dashboard Stats */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.user-stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.user-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.user-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.user-stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Ne Pritje Page Styles */
.dashboard-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.dashboard-header {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 28px;
}

.header-content p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.card h2 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 24px;
}

/* Activity List Styles */
.activity-list {
    display: grid;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 25px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    min-height: 120px;
}

.activity-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.1);
}

.activity-icon {
    margin-right: 25px;
    flex-shrink: 0;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.type-bartje {
    background: #28a745;
}

.type-shpenzim {
    background: #ffc107;
    color: #333;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.activity-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.activity-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.detail-item {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #495057;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.activity-time {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.approval-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.btn-approve {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    z-index: 10;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-approve:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-reject {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    z-index: 10;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-reject:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Rejection Modal Styles */
.rejection-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rejection-form {
    background: white;
    padding: 35px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rejection-form h3 {
    margin: 0 0 25px 0;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
}

.rejection-form textarea {
    width: 100%;
    height: 140px;
    padding: 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 25px;
    transition: border-color 0.3s ease;
    font-weight: 500;
}

.rejection-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.no-data-icon {
    font-size: 64px;
    margin-bottom: 25px;
    opacity: 0.6;
    display: block;
}

.no-data h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.no-data p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-container {
        max-width: 1100px;
    }
}

@media (max-width: 992px) {
    .dashboard-container {
        max-width: 900px;
    }
    
    .activity-item {
        padding: 20px;
    }
    
    .activity-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .dashboard-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .card {
        padding: 20px;
    }
    
    .activity-item {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        min-height: auto;
    }
    
    .activity-icon {
        margin-right: 0;
        align-self: center;
    }
    
    .activity-content {
        margin-right: 0;
        width: 100%;
    }
    
    .activity-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .approval-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-approve, .btn-reject {
        width: 100%;
        max-width: 200px;
    }
    
    .rejection-form {
        max-width: 95vw;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .activity-item {
        padding: 15px;
    }
    
    .activity-title {
        font-size: 14px;
    }
    
    .activity-desc {
        font-size: 13px;
    }
    
    .detail-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .btn-approve, .btn-reject {
        max-width: 100%;
        font-size: 13px;
        padding: 8px 16px;
    }
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

.activity-item:hover::before {
    opacity: 1;
}

.activity-icon {
    flex-shrink: 0;
    z-index: 1;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.activity-item:hover .icon-circle {
    transform: scale(1.1);
}

.type-bartje {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.type-shpenzim {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.activity-content {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.activity-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2d3748;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.status-badge {
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.activity-desc {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.activity-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-item {
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
}

.activity-time {
    color: #718096;
    font-size: 0.85rem;
    font-weight: 500;
}

.activity-toggle-item {
    cursor: pointer;
}

.activity-toggle-item .activity-extra {
    display: none;
    margin-top: 10px;
    gap: 8px;
    flex-wrap: wrap;
}

.activity-toggle-item.expanded .activity-extra {
    display: flex;
}

.approval-actions {
    display: flex;
    gap: 12px;
    z-index: 10;
    flex-shrink: 0;
}

.btn-approve, .btn-reject {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    z-index: 20;
}

.btn-approve {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: 2px solid #38a169;
}

.btn-approve:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.3);
}

.btn-reject {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    border: 2px solid #e53e3e;
}

.btn-reject:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
}

/* Enhanced No Data State */
.no-data {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e0;
    margin: 20px 0;
}

.no-data-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.6;
}

.no-data h3 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-data p {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Rejection Modal */
.rejection-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.rejection-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid #e2e8f0;
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rejection-form h3 {
    margin-top: 0;
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.rejection-form textarea {
    width: 100%;
    height: 140px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
    background: #fafafa;
}

.rejection-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.rejection-form textarea::placeholder {
    color: #a0aec0;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.btn-cancel {
    background: #a0aec0;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(160, 174, 192, 0.3);
}

.btn-cancel:hover {
    background: #718096;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 174, 192, 0.4);
}

/* Responsive Design for Ne Pritje */
@media (max-width: 768px) {
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .activity-icon {
        align-self: center;
    }
    
    .approval-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-approve, .btn-reject {
        flex: 1;
        min-width: 120px;
    }
    
    .activity-title {
        font-size: 1.1rem;
    }
    
    .activity-desc {
        font-size: 0.95rem;
    }
    
    .activity-details {
        width: 100%;
    }
    
    .detail-item {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }

    .activity-time {
        width: 100%;
        text-align: left;
        margin-top: 6px;
    }

    .activity-toggle-item .activity-extra {
        width: 100%;
    }
    
    .rejection-form {
        padding: 25px;
        max-width: 95vw;
    }
    
    .rejection-form h3 {
        font-size: 1.3rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-approve, .btn-reject, .btn-cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .activity-item {
        padding: 16px;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .activity-title {
        font-size: 1rem;
    }
    
    .activity-desc {
        font-size: 0.9rem;
    }
    
    .detail-item {
        font-size: 0.8rem;
        padding: 4px 8px;
        min-width: 100%;
    }
    
    .btn-approve, .btn-reject {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Animation for buttons */
.btn-approve::after, .btn-reject::after, .btn-cancel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-approve:active::after, .btn-reject:active::after, .btn-cancel:active::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Enhanced header styling */
.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.dashboard-header p {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 500;
}

/* Card enhancements */
.card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.card h2 {
    margin-top: 0;
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Pagination Styles */
.pagination-controls {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.pagination-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(102, 126, 234, 0.12);
    color: #4c5ec6;
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.pagination-chip-muted {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #6b7280;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.btn-pagination {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #dde2ea;
    background: white;
    color: #374151;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(2, 6, 23, 0.05);
}

.btn-pagination:hover {
    border-color: #8da2ff;
    color: #4c5ec6;
    background: #f2f5ff;
    transform: translateY(-1px);
}

.btn-pagination.active {
    background: linear-gradient(135deg, #667eea 0%, #7c63e9 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.35);
}

.btn-pagination.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-pagination-nav {
    padding: 0 14px;
    min-width: 92px;
}

.pagination-ellipsis {
    color: #9ca3af;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 2px;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        text-align: center;
        align-items: stretch;
    }

    .pagination-info {
        justify-content: center;
    }

    .pagination-buttons {
        justify-content: center;
    }

    .btn-pagination {
        height: 40px;
        min-width: 40px;
    }

    .btn-pagination-nav {
        min-width: 84px;
    }
}

/* Responsive Design for Admin and User Features */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination button {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .user-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .user-stat-value {
        font-size: 2rem;
    }
    
    .rejection-form {
        padding: 20px 15px;
    }
}

/* ne-pritje.php - single responsive layout */
.dashboard-main.pending-main {
    display: block;
    max-width: 1360px;
    margin: 0 auto;
    padding: 16px;
}

.pending-card {
    width: 100%;
    margin: 0;
}

.pending-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pending-card-top h2 {
    margin-bottom: 0;
}

.pending-limit-form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.pending-limit-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
}

.pending-limit-form select {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 600;
    color: #2d3748;
    background: #fff;
}

.pending-pagination {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .dashboard-main.pending-main {
        padding: 16px;
    }

    .pending-card-top {
        flex-direction: column;
        align-items: stretch;
    }

    .pending-limit-form {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .dashboard-main.pending-main {
        padding: 12px;
    }

    .pending-card {
        padding: 14px;
    }

    .pending-limit-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

/* Currency text suffix */
.input-wrapper.currency-field {
    position: relative;
}

.input-wrapper.currency-field input {
    padding-right: 38px;
}

.currency-text {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 700;
    color: #667085;
    pointer-events: none;
    line-height: 1;
    z-index: 2;
}

.location-suggestions {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.location-suggestion-item {
    border: 1px solid #dbeafe;
    background: #f8fbff;
    color: #1f2937;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font-size: 0.82rem;
    cursor: pointer;
}

.location-suggestion-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.btn-location-helper {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    cursor: pointer;
}

.btn-location-helper:hover {
    background: #e0e7ff;
}

/* Bartje evidence upload cards */
.evidence-wrap {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5ff 100%);
}

.evidence-head {
    margin-bottom: 14px;
}

.evidence-head h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #1e3a8a;
    font-weight: 800;
}

.evidence-head p {
    margin: 6px 0 0;
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.45;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.evidence-card {
    background: #fff;
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.07);
}

.evidence-title {
    display: block;
    color: #1f2937;
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.evidence-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.evidence-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #93c5fd;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all .2s ease;
}

.evidence-btn:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: translateY(-1px);
}

.evidence-btn input[type="file"] {
    display: none;
}

.evidence-status {
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 10px;
    word-break: break-word;
}

.evidence-status.ok {
    background: #ecfdf3;
    border-color: #86efac;
    color: #166534;
}

.evidence-status.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.evidence-status.uploading {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.evidence-status a {
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .evidence-grid {
        grid-template-columns: 1fr;
    }
}

/* dashboard.php modern redesign */
.dashboard-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dash2-header {
    background: rgba(255,255,255,0.95);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.dash2-header h1 {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 1.8rem;
}

.dash2-header p {
    margin: 0;
    color: #6b7280;
}

.dash2-role {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.dash2-role.admin {
    background: rgba(99, 102, 241, 0.13);
    color: #4f46e5;
}

.dash2-role.user {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.dash2-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.dash2-stat-card {
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.dash2-stat-card h3 {
    margin: 0 0 8px;
    color: #374151;
    font-size: 0.95rem;
}

.dash2-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: #4f46e5;
    margin-bottom: 4px;
}

.dash2-stat-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
}

.dash2-main-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.4fr);
    gap: 16px;
}

.dash2-panel {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

.dash2-panel h2 {
    margin: 0 0 14px;
    font-size: 1.12rem;
    color: #1f2937;
}

.dash2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dash2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-weight: 700;
    font-size: 0.9rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    transition: all .2s ease;
}

.dash2-btn:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

.dash2-btn-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
}

.dash2-btn-accent:hover {
    color: #fff;
    filter: brightness(1.03);
}

.dash2-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash2-activity-item {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

.dash2-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 1.1rem;
}

.dash2-activity-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash2-activity-content strong,
.dash2-activity-content span,
.dash2-activity-content small {
    overflow-wrap: anywhere;
}

.dash2-activity-content strong {
    color: #1f2937;
    font-size: 0.95rem;
}

.dash2-activity-content span {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.86rem;
}

.dash2-activity-content small {
    color: #6b7280;
    font-size: 0.8rem;
}

.dash2-activity-time {
    font-size: 0.78rem;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 10px;
    white-space: nowrap;
}

.dash2-admin-note {
    margin-top: 16px;
}

@media (max-width: 992px) {
    .dash2-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash2-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-modern {
        padding: 14px;
    }

    .dash2-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .dash2-header h1 {
        font-size: 1.35rem;
    }

    .dash2-activity-item {
        grid-template-columns: 34px minmax(0,1fr);
        align-items: flex-start;
    }

    .dash2-activity-time {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .dash2-stats-grid {
        grid-template-columns: 1fr;
    }

    .dash2-panel,
    .dash2-stat-card {
        padding: 14px;
    }

    .dash2-value {
        font-size: 1.45rem;
    }

    .dash2-btn {
        width: 100%;
    }
}

/* =============================================
   Barazimi - Modern redesign (Barazo Përdorues)
   ============================================= */
.barazimi-layout .barazo-pro-section {
    position: relative;
    overflow: hidden;
    border: 1px solid #dbe4ff;
    background:
        radial-gradient(1200px 400px at -10% -30%, rgba(102, 126, 234, 0.16), transparent 60%),
        radial-gradient(900px 320px at 120% -20%, rgba(118, 75, 162, 0.14), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.barazimi-layout .barazo-pro-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    border-bottom-color: #c7d2fe;
}

.barazimi-layout .barazo-pro-section h2::before {
    content: "💼";
    font-size: 1.1rem;
}

.barazimi-layout .barazo-pro-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.35fr);
    gap: 20px;
}

.barazimi-layout .barazo-pro-left,
.barazimi-layout .barazo-pro-right {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.barazimi-layout .barazo-filter-form {
    background: linear-gradient(135deg, #eef2ff 0%, #f8faff 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 10px;
}

.barazimi-layout .barazo-filter-form .btn-submit {
    box-shadow: 0 10px 18px rgba(102, 126, 234, 0.28);
}

.barazimi-layout .barazo-mode-note {
    margin-top: 10px;
    background: linear-gradient(90deg, #eef4ff 0%, #f5f3ff 100%);
    border-color: #c7d2fe;
    color: #334155;
}

.barazimi-layout .barazimi-users-grid {
    margin-top: 12px;
    gap: 12px;
}

.barazimi-layout .barazimi-user-chip {
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.barazimi-layout .barazimi-user-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
}

.barazimi-layout .barazo-summary-card {
    border: 1px solid #c7d2fe;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.barazimi-layout .barazo-summary-card .balance-item {
    background: #ffffff;
    border-color: #e2e8f0;
}

.barazimi-layout .barazo-pro-right .history-table {
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    overflow: hidden;
}

.barazimi-layout .barazo-pro-right .history-table th {
    background: linear-gradient(180deg, #eaf0ff 0%, #e2e8ff 100%);
    color: #334155;
}

.barazimi-layout .barazo-pro-right .history-table td {
    background: #fff;
}

.barazimi-layout .barazo-pro-right .history-table tbody tr:hover td {
    background: #f8fbff;
}

.barazimi-layout .barazo-action-form .btn-submit {
    min-width: 150px;
}

.barazimi-layout .barazo-action-form .message.error.persistent-message {
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    background: #fff1f2;
    color: #9f1239;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .barazimi-layout .barazo-pro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .barazimi-layout .barazo-pro-section {
        padding: 16px;
    }

    .barazimi-layout .barazo-pro-left,
    .barazimi-layout .barazo-pro-right {
        padding: 12px;
        border-radius: 14px;
    }

    .barazimi-layout .barazo-filter-form {
        padding: 10px;
    }

    .barazimi-layout .barazimi-users-grid {
        grid-template-columns: 1fr;
    }
}

/* Auto Assist KS revolutionary command homepage */
.revo-page {
    --revo-bg: #05070f;
    --revo-bg-2: #07111f;
    --revo-text: #f8fafc;
    --revo-muted: rgba(248, 250, 252, 0.72);
    --revo-dim: rgba(248, 250, 252, 0.54);
    --revo-line: rgba(148, 163, 184, 0.22);
    --revo-panel: rgba(7, 17, 31, 0.72);
    --revo-panel-strong: rgba(15, 23, 42, 0.9);
    --revo-cyan: #22d3ee;
    --revo-teal: #14b8a6;
    --revo-yellow: #facc15;
    --revo-red: #ef4444;
    --revo-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(5, 7, 15, 0.96) 0%, rgba(7, 17, 31, 0.96) 46%, #05070f 100%);
    color: var(--revo-text);
    letter-spacing: 0;
}

.revo-page .navbar {
    background: rgba(5, 7, 15, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: none;
}

.revo-page .nav-container {
    max-width: 1360px;
}

.revo-page .nav-brand h1 {
    color: var(--revo-text);
    background: none;
    -webkit-text-fill-color: currentColor;
    text-align: left;
}

.revo-page .nav-link {
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.92rem;
    letter-spacing: 0;
}

.revo-page .nav-link:hover,
.revo-page .nav-link.active {
    color: #fff;
}

.revo-page .nav-link.active::after {
    background: linear-gradient(90deg, var(--revo-yellow), var(--revo-cyan));
}

.revo-page .nav-phone-link {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(250, 204, 21, 0.42);
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--revo-yellow);
}

.revo-page .nav-phone-link::after {
    display: none;
}

.revo-page .bar {
    background: var(--revo-text);
}

.revo-canvas,
.revo-vignette,
.revo-scanlines {
    position: fixed;
    inset: 70px 0 0;
    width: 100%;
    height: calc(100svh - 70px);
    pointer-events: none;
}

.revo-canvas {
    z-index: 0;
    display: block;
    background: transparent;
}

.revo-vignette {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 7, 15, 0.94) 0%, rgba(5, 7, 15, 0.62) 42%, rgba(5, 7, 15, 0.24) 72%, rgba(5, 7, 15, 0.72) 100%),
        linear-gradient(180deg, rgba(5, 7, 15, 0.18) 0%, rgba(5, 7, 15, 0.02) 44%, rgba(5, 7, 15, 0.84) 100%);
}

.revo-scanlines {
    z-index: 1;
    opacity: 0.22;
    background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 7px);
    mix-blend-mode: screen;
}

.revo-main,
.revo-footer {
    position: relative;
    z-index: 2;
}

.revo-main {
    isolation: isolate;
}

.revo-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.revo-hero {
    min-height: calc(100svh - 70px);
    display: flex;
    align-items: center;
    padding: 58px 0 74px;
}

.revo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
    align-items: center;
    gap: 54px;
}

.revo-copy,
.revo-section-copy {
    max-width: 720px;
}

.revo-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.3));
}

.revo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--revo-yellow);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.revo-kicker::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 8px;
    background: currentColor;
}

.revo-page h1,
.revo-page h2,
.revo-page h3,
.revo-page p {
    text-align: left;
    letter-spacing: 0;
}

.revo-copy h1 {
    max-width: 780px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 4.6rem;
    line-height: 0.96;
    font-weight: 950;
}

.revo-copy h1 span {
    display: block;
}

.revo-section-copy h2,
.revo-final h2 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.02;
    font-weight: 930;
}

.revo-copy p,
.revo-section-copy p,
.revo-final p {
    max-width: 670px;
    margin: 0;
    color: var(--revo-muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.revo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.revo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.revo-btn:hover {
    transform: translateY(-2px);
}

.revo-btn-primary {
    background: var(--revo-yellow);
    color: #111827;
    box-shadow: 0 16px 34px rgba(250, 204, 21, 0.22);
}

.revo-btn-ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(15, 23, 42, 0.48);
    color: #fff;
}

.revo-console {
    width: 100%;
    max-width: 430px;
    justify-self: end;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(7, 17, 31, 0.58));
    box-shadow: var(--revo-shadow);
    backdrop-filter: blur(20px);
}

.revo-console-head,
.revo-command-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.revo-console-head {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--revo-line);
    color: var(--revo-dim);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.revo-console-head strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.16);
    color: #5eead4;
    font-size: 0.78rem;
}

.revo-case {
    padding: 20px 0;
    border-bottom: 1px solid var(--revo-line);
}

.revo-case span,
.revo-call-list span,
.revo-call-board span,
.revo-command-list span,
.revo-ribbon span,
.revo-bento span,
.revo-spec-board span,
.revo-towed span {
    color: var(--revo-dim);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.revo-case strong {
    display: block;
    margin: 6px 0 10px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.12;
}

.revo-case p {
    color: var(--revo-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.revo-call-list {
    display: grid;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid var(--revo-line);
}

.revo-call-list article {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.5);
}

.revo-call-list strong,
.revo-call-list small {
    display: block;
}

.revo-call-list strong {
    margin: 4px 0 2px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.24;
}

.revo-call-list small {
    color: #5eead4;
    font-size: 0.8rem;
    font-weight: 850;
}

.revo-command-list {
    display: grid;
    gap: 13px;
    padding: 18px 0;
}

.revo-command-list strong {
    color: #fff;
    font-size: 0.95rem;
    text-align: right;
}

.revo-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.18);
}

.revo-progress i {
    display: block;
    width: 48%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--revo-red), var(--revo-yellow), var(--revo-cyan));
    animation: revoProgress 2.4s ease-in-out infinite alternate;
}

@keyframes revoProgress {
    from { transform: translateX(0); }
    to { transform: translateX(108%); }
}

.revo-ribbon {
    border-top: 1px solid var(--revo-line);
    border-bottom: 1px solid var(--revo-line);
    background: rgba(5, 7, 15, 0.66);
    backdrop-filter: blur(18px);
}

.revo-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.revo-ribbon-grid > * {
    min-width: 0;
    padding: 22px 18px;
    border-right: 1px solid var(--revo-line);
    color: inherit;
    text-decoration: none;
}

.revo-ribbon-grid > *:first-child {
    border-left: 1px solid var(--revo-line);
}

.revo-ribbon strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.24;
}

.revo-section {
    min-height: 88vh;
    padding: 118px 0;
}

.revo-dark {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(3, 7, 18, 0.54);
    backdrop-filter: blur(10px);
}

.revo-split,
.revo-fleet-grid,
.revo-partner-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.72fr);
    gap: 54px;
    align-items: start;
}

.revo-timeline,
.revo-case-stack,
.revo-call-board,
.revo-bento,
.revo-spec-board,
.revo-partners,
.revo-towed {
    display: grid;
    gap: 14px;
}

.revo-timeline article,
.revo-case-metrics article,
.revo-live-feed article,
.revo-call-board article,
.revo-bento article,
.revo-spec-board div,
.revo-partners strong,
.revo-towed article {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.revo-timeline article {
    padding: 18px 18px 18px 62px;
    position: relative;
}

.revo-call-board article {
    position: relative;
    padding: 18px 18px 18px 22px;
}

.revo-call-board article::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 3px;
    height: calc(100% - 40px);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--revo-yellow), var(--revo-cyan));
}

.revo-timeline article > span {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--revo-yellow);
    color: #111827;
    font-size: 0.78rem;
    font-weight: 950;
}

.revo-timeline h3,
.revo-call-board h3,
.revo-bento h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.2;
}

.revo-timeline p,
.revo-call-board p,
.revo-bento p {
    margin: 0;
    color: var(--revo-muted);
    font-size: 0.95rem;
    line-height: 1.58;
}

.revo-call-board strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--revo-yellow);
    font-size: 0.78rem;
    font-weight: 900;
}

.revo-case-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.revo-case-metrics article {
    min-height: 116px;
    padding: 16px;
}

.revo-case-metrics span,
.revo-live-feed span {
    display: block;
    color: var(--revo-dim);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.revo-case-metrics strong {
    display: block;
    margin: 8px 0 3px;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.revo-case-metrics small {
    color: var(--revo-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.revo-live-feed {
    display: grid;
    gap: 10px;
}

.revo-live-feed article {
    position: relative;
    overflow: hidden;
    min-height: 72px;
    padding: 13px 14px 13px 18px;
}

.revo-live-feed article::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--revo-yellow);
}

.revo-live-feed article[data-status="active"]::before {
    background: var(--revo-cyan);
}

.revo-live-feed article[data-status="done"]::before {
    background: var(--revo-teal);
}

.revo-live-feed article[data-status="urgent"]::before {
    background: var(--revo-red);
}

.revo-live-feed strong {
    display: block;
    margin: 3px 0;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.22;
}

.revo-live-feed small {
    color: var(--revo-yellow);
    font-size: 0.8rem;
    font-weight: 900;
}

.revo-live-feed article[data-status="active"] small {
    color: var(--revo-cyan);
}

.revo-live-feed article[data-status="done"] small {
    color: #5eead4;
}

.revo-live-feed article[data-status="urgent"] small {
    color: #fca5a5;
}

.revo-photo-section {
    background:
        linear-gradient(180deg, rgba(5, 7, 15, 0.24), rgba(3, 7, 18, 0.68));
}

.revo-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
    gap: 38px;
    align-items: center;
}

.revo-photo-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.revo-photo-points span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.1);
    color: var(--revo-yellow);
    font-size: 0.82rem;
    font-weight: 900;
}

.revo-truck-photo {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: var(--revo-shadow);
}

.revo-truck-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(1.05);
}

.revo-truck-photo figcaption {
    padding: 10px 12px;
    color: var(--revo-dim);
    font-size: 0.74rem;
    line-height: 1.4;
}

.revo-truck-photo a {
    color: #93c5fd;
    text-decoration: none;
}

.revo-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.revo-bento article {
    min-height: 188px;
    padding: 22px;
}

.revo-bento article:nth-child(2),
.revo-bento article:nth-child(5) {
    border-color: rgba(34, 211, 238, 0.34);
}

.revo-bento article:nth-child(3),
.revo-bento article:nth-child(6) {
    border-color: rgba(250, 204, 21, 0.34);
}

.revo-bento span {
    display: block;
    margin-bottom: 22px;
    color: var(--revo-yellow);
}

.revo-spec-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.revo-spec-board div {
    min-height: 138px;
    padding: 22px;
}

.revo-spec-board strong {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: 1.42rem;
    line-height: 1.12;
}

.revo-towed {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 38px;
}

.revo-towed article {
    min-height: 126px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(15, 23, 42, 0.7));
}

.revo-towed strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.24;
}

.revo-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.revo-partners strong {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.04rem;
}

.revo-final {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 104px 0;
}

.revo-final-inner {
    max-width: 980px;
    padding: 34px;
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(7, 17, 31, 0.62));
    box-shadow: var(--revo-shadow);
    backdrop-filter: blur(20px);
}

.revo-final .revo-btn {
    margin-top: 28px;
}

.revo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 28px 20px;
    border-top: 1px solid var(--revo-line);
    background: rgba(3, 7, 18, 0.94);
    color: #fff;
}

.revo-footer span {
    color: var(--revo-muted);
}

.revo-footer a {
    color: var(--revo-yellow);
    font-weight: 900;
    text-decoration: none;
}

.revo-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.62s ease, transform 0.62s ease;
}

.revo-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.revo-hero .revo-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .revo-page *,
    .revo-page *::before,
    .revo-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .revo-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .revo-page .nav-menu {
        gap: 1rem;
    }

    .revo-page .nav-link {
        font-size: 0.86rem;
    }

    .revo-copy h1 {
        font-size: 3.7rem;
    }

    .revo-section-copy h2,
    .revo-final h2 {
        font-size: 2.65rem;
    }

    .revo-hero-grid,
    .revo-split,
    .revo-fleet-grid,
    .revo-partner-grid {
        gap: 34px;
    }
}

@media (max-width: 920px) {
    .revo-hero-grid,
    .revo-split,
    .revo-fleet-grid,
    .revo-photo-grid,
    .revo-partner-grid {
        grid-template-columns: 1fr;
    }

    .revo-console {
        justify-self: start;
        max-width: 540px;
    }

    .revo-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .revo-case-metrics {
        grid-template-columns: 1fr;
    }

    .revo-towed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .revo-ribbon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .revo-page .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
    }

    .revo-page .nav-menu {
        background: rgba(5, 7, 15, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
    }

    .revo-page .hamburger {
        display: flex !important;
        margin-left: auto;
    }

    .revo-page .nav-brand h1 {
        font-size: 1.12rem;
    }

    .revo-page .nav-link {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .revo-canvas,
    .revo-vignette,
    .revo-scanlines {
        inset: 70px 0 0;
        height: calc(100svh - 70px);
    }

    .revo-vignette {
        background:
            linear-gradient(180deg, rgba(5, 7, 15, 0.62) 0%, rgba(5, 7, 15, 0.38) 40%, rgba(5, 7, 15, 0.9) 100%),
            linear-gradient(90deg, rgba(5, 7, 15, 0.82), rgba(5, 7, 15, 0.44));
    }

    .revo-shell {
        width: min(680px, calc(100% - 28px));
    }

    .revo-hero {
        min-height: auto;
        padding: 44px 0 62px;
    }

    .revo-copy,
    .revo-section-copy {
        max-width: 100%;
    }

    .revo-logo {
        width: 66px;
        height: 66px;
        margin-bottom: 14px;
    }

    .revo-kicker {
        font-size: 0.72rem;
    }

    .revo-kicker::before {
        width: 18px;
    }

    .revo-copy h1 {
        font-size: 2rem;
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .revo-section-copy h2,
    .revo-final h2 {
        font-size: 2.08rem;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .revo-copy p,
    .revo-section-copy p,
    .revo-final p {
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .revo-actions {
        align-items: stretch;
    }

    .revo-btn {
        width: 100%;
        min-height: 50px;
    }

    .revo-console {
        max-width: 100%;
        padding: 17px;
    }

    .revo-case strong {
        font-size: 1.2rem;
    }

    .revo-command-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .revo-command-list strong {
        text-align: left;
    }

    .revo-ribbon-grid {
        grid-template-columns: 1fr;
    }

    .revo-ribbon-grid > * {
        border-left: 1px solid var(--revo-line);
    }

    .revo-section {
        min-height: auto;
        padding: 72px 0;
    }

    .revo-bento,
    .revo-spec-board,
    .revo-towed,
    .revo-partners {
        grid-template-columns: 1fr;
    }

    .revo-bento article {
        min-height: auto;
        padding: 18px;
    }

    .revo-photo-grid {
        gap: 24px;
    }

    .revo-spec-board div,
    .revo-towed article {
        min-height: 108px;
    }

    .revo-timeline article {
        padding: 16px 16px 16px 58px;
    }

    .revo-call-board article {
        padding: 16px 16px 16px 20px;
    }

    .revo-final {
        min-height: auto;
        padding: 74px 0;
    }

    .revo-final-inner {
        width: min(100%, 680px);
        padding: 20px;
    }

    .revo-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .revo-shell {
        width: min(360px, calc(100% - 24px));
        margin-left: 14px;
        margin-right: auto;
    }

    .revo-page .nav-container {
        position: relative;
    }

    .revo-page .hamburger {
        position: absolute;
        top: 22px;
        left: min(352px, calc(100vw - 42px));
        right: auto;
    }
}

@media (max-width: 420px) {
    .revo-shell {
        width: min(360px, calc(100% - 24px));
    }

    .revo-copy h1 {
        font-size: 1.76rem;
    }

    .revo-section-copy h2,
    .revo-final h2 {
        font-size: 1.86rem;
    }

    .revo-console,
    .revo-final-inner {
        padding: 16px;
    }

    .revo-truck-photo img {
        aspect-ratio: 4 / 3;
    }

    .revo-ribbon-grid > *,
    .revo-case-metrics article,
    .revo-live-feed article,
    .revo-timeline article,
    .revo-call-board article,
    .revo-bento article,
    .revo-spec-board div,
    .revo-towed article {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =============================================
   Auto Assist KS public homepage
   ============================================= */
.home-page {
    --home-ink: #0f172a;
    --home-muted: #475569;
    --home-panel: #ffffff;
    --home-line: #dbe3ee;
    --home-yellow: #facc15;
    --home-orange: #f97316;
    --home-red: #ef4444;
    --home-teal: #14b8a6;
    --home-blue: #2563eb;
    --home-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    background: #f8fafc;
    color: var(--home-ink);
    overflow-x: hidden;
}

.home-page .navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(219, 227, 238, 0.9);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.home-page .nav-container {
    max-width: 1240px;
}

.home-page .nav-menu {
    gap: 1.05rem;
}

.home-page .nav-link {
    color: #1f2937;
    letter-spacing: 0;
}

.home-page .nav-link:hover,
.home-page .nav-link.active {
    color: #0f766e;
}

.home-page .nav-link.active::after {
    background: linear-gradient(90deg, var(--home-yellow), var(--home-teal));
}

.home-page .nav-phone-link {
    padding: 9px 13px;
    border: 1px solid rgba(250, 204, 21, 0.8);
    border-radius: 999px;
    background: #111827;
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.home-page .nav-phone-link:hover {
    color: #111827;
    background: var(--home-yellow);
}

.home-page .nav-phone-link::after {
    display: none;
}

.home-main {
    background: #f8fafc;
}

.home-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.home-hero {
    position: relative;
    min-height: calc(100svh - 122px);
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, 0.98) 0%, rgba(17, 24, 39, 0.94) 42%, rgba(20, 184, 166, 0.72) 100%),
        #0f172a;
}

.tow-hero-canvas,
.hero-visual-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.tow-hero-canvas {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.home-hero.has-three-scene .tow-hero-canvas {
    opacity: 1;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.72) 44%, rgba(15, 23, 42, 0.2) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.02) 36%);
}

.hero-road-lines {
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 10%;
    height: 110px;
    z-index: -1;
    transform: rotate(-4deg);
    background:
        repeating-linear-gradient(90deg, transparent 0 70px, rgba(250, 204, 21, 0.95) 70px 140px, transparent 140px 220px);
    opacity: 0.22;
    filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 52px 0 56px;
}

.hero-copy {
    max-width: 680px;
    min-width: 0;
}

.brand-pill {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.brand-pill img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

.brand-pill span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hero-copy h1 {
    margin: 24px 0 18px;
    text-align: left;
    color: #fff;
    font-size: 5rem;
    line-height: 0.94;
    font-weight: 850;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-lede {
    max-width: 620px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.24rem;
    line-height: 1.58;
    overflow-wrap: anywhere;
}

.hero-actions,
.form-actions.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.home-btn {
    width: auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    letter-spacing: 0;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn-primary {
    background: var(--home-yellow);
    color: #111827;
    box-shadow: 0 16px 32px rgba(250, 204, 21, 0.24);
}

.home-btn-primary:hover {
    background: #fde047;
    color: #111827;
    box-shadow: 0 20px 42px rgba(250, 204, 21, 0.32);
}

.home-btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.home-btn-ghost:hover {
    color: #111827;
    background: #fff;
    border-color: #fff;
}

.home-btn-dark {
    color: #fff;
    background: #0f172a;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.home-btn-dark:hover {
    color: #fff;
    background: #111827;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 680px;
}

.hero-proof span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.hero-callout {
    position: absolute;
    z-index: 2;
    max-width: 250px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(14px);
}

.hero-callout strong,
.hero-callout span {
    display: block;
}

.hero-callout strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #0f766e;
    letter-spacing: 0;
    margin-bottom: 2px;
}

.hero-callout span {
    font-weight: 850;
    line-height: 1.22;
}

.hero-callout-one {
    right: 7%;
    top: 22%;
    animation: calloutFloat 5s ease-in-out infinite;
}

.hero-callout-two {
    right: 16%;
    bottom: 14%;
    animation: calloutFloat 5.8s ease-in-out infinite 0.4s;
}

@keyframes calloutFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-visual-fallback {
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(20, 184, 166, 0.65)),
        #0f172a;
}

.hero-visual-fallback.is-hidden {
    display: none;
}

.fallback-sun {
    position: absolute;
    right: 12%;
    top: 17%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #facc15;
    opacity: 0.82;
    box-shadow: 0 0 80px rgba(250, 204, 21, 0.48);
}

.fallback-truck {
    position: absolute;
    right: 9%;
    bottom: 18%;
    width: 440px;
    height: 170px;
    transform: rotate(-2deg);
    animation: fallbackTruck 3.5s ease-in-out infinite;
}

.fallback-cabin,
.fallback-bed,
.fallback-car,
.fallback-wheel {
    position: absolute;
    display: block;
}

.fallback-cabin {
    right: 68px;
    bottom: 42px;
    width: 104px;
    height: 86px;
    border-radius: 16px 18px 8px 8px;
    background: #facc15;
    box-shadow: inset 26px 18px 0 rgba(255, 255, 255, 0.34);
}

.fallback-bed {
    right: 158px;
    bottom: 48px;
    width: 226px;
    height: 24px;
    border-radius: 8px;
    background: #111827;
    transform: rotate(-10deg);
}

.fallback-car {
    right: 282px;
    bottom: 62px;
    width: 110px;
    height: 42px;
    border-radius: 28px 34px 10px 10px;
    background: #14b8a6;
    transform: rotate(-10deg);
}

.fallback-wheel {
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 9px solid #050505;
    border-radius: 50%;
    background: #e5e7eb;
}

.fallback-wheel-one {
    right: 86px;
}

.fallback-wheel-two {
    right: 236px;
}

@keyframes fallbackTruck {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}

.quick-strip {
    position: relative;
    z-index: 4;
    padding: 18px 0;
    background: #ffffff;
    border-top: 1px solid rgba(219, 227, 238, 0.9);
    border-bottom: 1px solid rgba(219, 227, 238, 0.9);
}

.quick-strip-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}

.quick-phone,
.quick-stat {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--home-ink);
    text-decoration: none;
}

.quick-phone {
    background: #111827;
    color: #fff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.quick-phone span,
.quick-stat span {
    color: inherit;
    opacity: 0.72;
    font-weight: 650;
    line-height: 1.35;
}

.quick-phone strong,
.quick-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0;
}

.quick-stat strong {
    color: #0f766e;
}

.home-section {
    padding: 86px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.section-heading h2,
.final-cta h2 {
    margin: 0 0 12px;
    color: var(--home-ink);
    font-size: 2.55rem;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
    text-wrap: balance;
}

.section-heading p,
.final-cta p {
    margin: 0;
    color: var(--home-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.services-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.truck-card,
.towed-card,
.partner-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.service-card {
    min-height: 216px;
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--home-yellow), var(--home-teal));
}

.service-card:hover,
.truck-card:hover,
.towed-card:hover,
.partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.45);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #111827;
    color: var(--home-yellow);
    font-weight: 900;
}

.service-card h3,
.truck-card h3,
.towed-card h3 {
    margin: 0 0 10px;
    color: var(--home-ink);
    font-size: 1.24rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.service-card p,
.truck-card p,
.towed-card p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.62;
}

.trucks-section {
    background: #0f172a;
    color: #fff;
}

.trucks-section .section-heading h2,
.trucks-section .section-heading p {
    color: #fff;
}

.trucks-section .section-heading p {
    opacity: 0.76;
}

.trucks-section .section-kicker {
    color: var(--home-yellow);
}

.truck-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.truck-card {
    min-height: 390px;
    padding: 18px 18px 22px;
    background: #111827;
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.truck-card h3 {
    color: #fff;
}

.truck-card p {
    color: rgba(255, 255, 255, 0.72);
}

.truck-tag {
    display: inline-flex;
    padding: 7px 10px;
    margin: 18px 0 12px;
    border: 1px solid rgba(250, 204, 21, 0.34);
    border-radius: 999px;
    color: var(--home-yellow);
    font-size: 0.82rem;
    font-weight: 850;
}

.mini-vehicle-scene {
    position: relative;
    height: 184px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #1e293b 0%, #0f172a 56%, #020617 100%);
    perspective: 700px;
}

.mini-vehicle-scene::before {
    content: "";
    position: absolute;
    inset: 28px 24px auto auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #facc15;
    opacity: 0.92;
}

.mini-road {
    position: absolute;
    left: -14%;
    right: -14%;
    bottom: 30px;
    height: 52px;
    background: #334155;
    transform: rotateX(62deg) rotateZ(-4deg);
    transform-origin: center;
}

.mini-road::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    height: 5px;
    background: repeating-linear-gradient(90deg, transparent 0 30px, #facc15 30px 68px, transparent 68px 104px);
}

.mini-truck {
    position: absolute;
    left: 14%;
    bottom: 46px;
    width: 230px;
    height: 92px;
    transform-style: preserve-3d;
    animation: miniTruckFloat 3.8s ease-in-out infinite;
}

.mini-truck-red {
    animation-delay: 0.3s;
}

.mini-truck-blue {
    animation-delay: 0.62s;
}

.mini-cabin,
.mini-bed,
.mini-hook,
.mini-wheel {
    position: absolute;
    display: block;
}

.mini-cabin {
    right: 18px;
    bottom: 22px;
    width: 68px;
    height: 58px;
    border-radius: 12px 14px 7px 7px;
    background: var(--home-yellow);
    box-shadow: inset 18px 13px 0 rgba(255, 255, 255, 0.32);
}

.mini-truck-red .mini-cabin {
    background: var(--home-red);
}

.mini-truck-blue .mini-cabin {
    background: var(--home-blue);
}

.mini-bed {
    right: 76px;
    bottom: 29px;
    width: 126px;
    height: 16px;
    border-radius: 6px;
    background: #e2e8f0;
    transform: rotate(-11deg);
    transform-origin: right center;
}

.mini-hook {
    right: 176px;
    bottom: 41px;
    width: 42px;
    height: 32px;
    border-left: 3px solid #cbd5e1;
    border-bottom: 3px solid #cbd5e1;
    border-radius: 0 0 0 14px;
    transform: rotate(-8deg);
}

.mini-wheel {
    bottom: 10px;
    width: 34px;
    height: 34px;
    border: 7px solid #050505;
    border-radius: 50%;
    background: #e5e7eb;
    animation: wheelSpin 1.1s linear infinite;
}

.mini-wheel-front {
    right: 30px;
}

.mini-wheel-back {
    right: 130px;
}

@keyframes miniTruckFloat {
    0%, 100% { transform: translateY(0) rotateY(-8deg); }
    50% { transform: translateY(-8px) rotateY(-3deg); }
}

@keyframes wheelSpin {
    to { transform: rotate(360deg); }
}

.towed-section {
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.towed-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
    gap: 36px;
    align-items: start;
}

.towed-layout .section-heading {
    position: sticky;
    top: 104px;
}

.towed-layout .home-btn {
    margin-top: 22px;
}

.towed-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.towed-card {
    min-height: 300px;
    padding: 18px;
}

.towed-card:nth-child(3) {
    grid-column: 1 / -1;
}

.towed-scene {
    position: relative;
    height: 162px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #bae6fd 0%, #e0f2fe 42%, #d1fae5 43%, #86efac 100%);
}

.towed-road {
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: 28px;
    height: 44px;
    background: #334155;
    transform: rotate(-3deg);
}

.towed-road::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    height: 4px;
    background: repeating-linear-gradient(90deg, transparent 0 34px, #facc15 34px 76px, transparent 76px 110px);
}

.towed-car,
.tiny-truck,
.tow-cable {
    position: absolute;
    display: block;
}

.towed-car {
    left: 30px;
    bottom: 58px;
    width: 94px;
    height: 42px;
    border-radius: 28px 34px 9px 9px;
    background: var(--home-teal);
    transform: rotate(-3deg);
    box-shadow: inset 28px 11px 0 rgba(255, 255, 255, 0.34);
}

.towed-car::before,
.towed-car::after {
    content: "";
    position: absolute;
    bottom: -12px;
    width: 24px;
    height: 24px;
    border: 6px solid #050505;
    border-radius: 50%;
    background: #e5e7eb;
}

.towed-car::before {
    left: 12px;
}

.towed-car::after {
    right: 12px;
}

.towed-car-two {
    background: var(--home-red);
    transform: rotate(4deg);
}

.towed-car-three {
    background: var(--home-blue);
    transform: rotate(-7deg);
}

.tiny-truck {
    right: 26px;
    bottom: 54px;
    width: 118px;
    height: 52px;
    border-radius: 8px 18px 8px 8px;
    background: var(--home-yellow);
    box-shadow: inset 64px 24px 0 #111827, 0 12px 0 -6px #050505;
}

.tiny-truck::before,
.tiny-truck::after {
    content: "";
    position: absolute;
    bottom: -13px;
    width: 26px;
    height: 26px;
    border: 7px solid #050505;
    border-radius: 50%;
    background: #e5e7eb;
}

.tiny-truck::before {
    left: 16px;
}

.tiny-truck::after {
    right: 15px;
}

.tow-cable {
    left: 116px;
    right: 130px;
    bottom: 76px;
    height: 3px;
    background: #111827;
    transform: rotate(-2deg);
    transform-origin: center;
}

.partners-section {
    background: #111827;
}

.partners-section .section-heading h2,
.partners-section .section-heading p {
    color: #fff;
}

.partners-section .section-heading p {
    opacity: 0.76;
}

.partners-section .section-kicker {
    color: var(--home-yellow);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.partner-card {
    min-height: 166px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.partner-card span {
    display: inline-flex;
    margin-bottom: 42px;
    color: var(--home-yellow);
    font-weight: 850;
}

.partner-card strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.35;
    color: #fff;
}

.final-cta-section {
    padding: 72px 0;
    background: #f8fafc;
}

.final-cta {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, #ffffff 0%, #f8fafc 56%, #ecfeff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.final-cta img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--home-line);
}

.home-footer {
    padding: 30px 0;
    background: #0f172a;
    color: #fff;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-grid strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.06rem;
}

.footer-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-grid a {
    color: var(--home-yellow);
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .home-page .public-nav-phone {
        display: none;
    }

    .hero-copy h1 {
        font-size: 4.1rem;
    }

    .hero-callout-one {
        right: 3%;
    }

    .hero-callout-two {
        right: 7%;
    }

    .quick-strip-grid,
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid,
    .truck-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .towed-layout {
        grid-template-columns: 1fr;
    }

    .towed-layout .section-heading {
        position: static;
    }
}

@media (max-width: 900px) {
    .home-page .public-nav-section {
        display: none;
    }

    .home-hero {
        min-height: calc(100svh - 104px);
    }

    .hero-copy {
        max-width: 620px;
    }

    .hero-copy h1 {
        font-size: 3.35rem;
    }

    .hero-lede {
        font-size: 1.1rem;
    }

    .hero-callout {
        display: none;
    }

    .section-heading h2,
    .final-cta h2 {
        font-size: 2.1rem;
    }

    .final-cta {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .final-cta .home-btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .final-cta img {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 768px) {
    .home-page,
    .home-page .navbar,
    .home-main,
    .home-hero {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .home-page .nav-container {
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .home-page .hamburger {
        display: flex !important;
        position: absolute;
        top: 22px;
        right: auto;
        left: min(330px, calc(100vw - 45px));
        flex: 0 0 auto;
        margin-left: auto;
    }

    .home-page .public-nav-section,
    .home-page .public-nav-phone {
        display: flex;
    }

    .home-page .nav-menu {
        gap: 0;
        background-color: rgba(255, 255, 255, 0.98);
    }

    .home-page .nav-phone-link {
        display: inline-flex;
        margin: 10px auto 0;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(250, 204, 21, 0.8);
    }

    .home-shell {
        width: calc(100% - 28px);
        max-width: 1180px;
    }

    .home-hero {
        align-items: flex-start;
        min-height: calc(100svh - 96px);
    }

    .hero-content {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        padding: 38px 0 42px;
    }

    .brand-pill {
        align-items: flex-start;
        border-radius: 8px;
        width: 100%;
        max-width: calc(100vw - 28px);
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .hero-scrim {
        background:
            linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.84) 58%, rgba(15, 23, 42, 0.34) 100%),
            linear-gradient(0deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.12) 42%);
    }

    .hero-copy,
    .hero-lede,
    .hero-actions,
    .hero-proof {
        width: 100%;
        max-width: calc(100vw - 28px);
    }

    .hero-copy h1 {
        font-size: 2.7rem;
        line-height: 1;
    }

    .hero-lede {
        font-size: 1.02rem;
    }

    .hero-actions {
        align-items: stretch;
    }

    .home-btn {
        width: 100%;
        max-width: calc(100vw - 28px);
    }

    .hero-proof span {
        font-size: 0.86rem;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .quick-strip-grid,
    .services-grid,
    .truck-grid,
    .towed-gallery,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .quick-phone,
    .quick-stat {
        min-height: 82px;
    }

    .quick-phone strong,
    .quick-stat strong {
        font-size: 1.65rem;
    }

    .home-section {
        padding: 62px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2,
    .final-cta h2 {
        font-size: 1.75rem;
    }

    .section-heading p,
    .final-cta p {
        font-size: 1rem;
    }

    .truck-card {
        min-height: auto;
    }

    .mini-vehicle-scene {
        height: 160px;
    }

    .mini-truck {
        left: 8%;
        transform: scale(0.9);
        transform-origin: left bottom;
    }

    .towed-card:nth-child(3) {
        grid-column: auto;
    }

    .final-cta {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .final-cta .home-btn {
        justify-self: stretch;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .brand-pill {
        gap: 10px;
        padding: 8px;
        font-size: 0.86rem;
    }

    .brand-pill img {
        width: 30px;
        height: 30px;
    }

    .service-card,
    .truck-card,
    .towed-card,
    .partner-card {
        padding: 16px;
    }

    .fallback-truck {
        right: -36%;
        transform: scale(0.72) rotate(-2deg);
        transform-origin: right bottom;
    }
}

/* =============================================
   Auto Assist KS immersive Albanian 3D homepage
   ============================================= */
.aa3d-page {
    --aa3d-ink: #f8fafc;
    --aa3d-muted: rgba(248, 250, 252, 0.72);
    --aa3d-soft: rgba(255, 255, 255, 0.1);
    --aa3d-line: rgba(255, 255, 255, 0.18);
    --aa3d-yellow: #facc15;
    --aa3d-teal: #14b8a6;
    --aa3d-red: #ef4444;
    --aa3d-blue: #2563eb;
    --aa3d-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    min-height: 100vh;
    background: #070b16;
    color: var(--aa3d-ink);
    overflow-x: hidden;
}

.aa3d-page .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.aa3d-page .nav-container {
    max-width: 1240px;
}

.aa3d-page .nav-menu {
    gap: 1.05rem;
}

.aa3d-page .nav-link {
    color: #111827;
    letter-spacing: 0;
}

.aa3d-page .nav-link:hover,
.aa3d-page .nav-link.active {
    color: #0f766e;
}

.aa3d-page .nav-link.active::after {
    background: linear-gradient(90deg, var(--aa3d-yellow), var(--aa3d-teal));
}

.aa3d-page .nav-phone-link {
    padding: 9px 13px;
    border-radius: 999px;
    background: #0f172a;
    border: 1px solid rgba(250, 204, 21, 0.72);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.aa3d-page .nav-phone-link:hover {
    background: var(--aa3d-yellow);
    color: #111827;
}

.aa3d-page .nav-phone-link::after {
    display: none;
}

.aa3d-canvas {
    position: fixed;
    inset: 70px 0 0;
    z-index: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background:
        radial-gradient(circle at 76% 28%, rgba(20, 184, 166, 0.32), transparent 34%),
        linear-gradient(135deg, #070b16 0%, #0f172a 52%, #042f2e 100%);
}

.aa3d-vignette {
    position: fixed;
    inset: 70px 0 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 64% 44%, transparent 0%, rgba(7, 11, 22, 0.14) 34%, rgba(7, 11, 22, 0.82) 100%),
        linear-gradient(90deg, rgba(7, 11, 22, 0.85) 0%, rgba(7, 11, 22, 0.56) 42%, rgba(7, 11, 22, 0.18) 100%);
}

.aa3d-speed-lines {
    position: fixed;
    inset: 70px 0 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.16;
    background:
        repeating-linear-gradient(110deg, transparent 0 90px, rgba(250, 204, 21, 0.32) 90px 92px, transparent 92px 170px),
        repeating-linear-gradient(70deg, transparent 0 120px, rgba(20, 184, 166, 0.22) 120px 122px, transparent 122px 220px);
    transform: translateY(calc(var(--aa3d-scroll, 0) * -90px));
}

.aa3d-page[data-aa-scene="3"] .aa3d-speed-lines,
.aa3d-page[data-aa-scene="4"] .aa3d-speed-lines {
    opacity: 0.24;
}

.aa3d-main {
    position: relative;
    z-index: 2;
}

.aa3d-panel {
    position: relative;
    min-height: calc(100svh - 70px);
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 80px max(32px, calc((100vw - 1180px) / 2)) 80px;
}

.aa3d-hero {
    min-height: calc(100svh - 70px);
}

.aa3d-panel-right {
    justify-content: flex-end;
}

.aa3d-final {
    min-height: 88svh;
    justify-content: center;
    text-align: center;
}

.aa3d-copy {
    width: min(600px, 100%);
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--aa3d-line);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.42));
    box-shadow: var(--aa3d-shadow);
    backdrop-filter: blur(18px);
}

.aa3d-hero .aa3d-copy {
    width: min(690px, 100%);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.aa3d-final .aa3d-copy {
    width: min(780px, 100%);
}

.aa3d-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.aa3d-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--aa3d-yellow);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.aa3d-kicker::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.aa3d-copy h1,
.aa3d-copy h2 {
    margin: 0 0 16px;
    color: #fff;
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
    max-width: 100%;
    overflow-wrap: break-word;
}

.aa3d-copy h1 {
    max-width: 780px;
    font-size: clamp(3rem, 5.4vw, 4.7rem);
}

.aa3d-copy h1 span {
    display: block;
}

.aa3d-copy h2 {
    font-size: clamp(2rem, 4.8vw, 4.15rem);
}

.aa3d-copy p {
    max-width: 640px;
    margin: 0 0 22px;
    color: var(--aa3d-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.aa3d-final .aa3d-copy p {
    margin-left: auto;
    margin-right: auto;
}

.aa3d-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.aa3d-btn {
    width: auto;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 900;
    color: #111827;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.aa3d-btn:hover {
    transform: translateY(-2px);
}

.aa3d-btn-primary {
    background: var(--aa3d-yellow);
    box-shadow: 0 18px 40px rgba(250, 204, 21, 0.24);
}

.aa3d-btn-primary:hover {
    background: #fde047;
    color: #111827;
}

.aa3d-btn-soft {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.aa3d-btn-soft:hover {
    color: #111827;
    background: #fff;
}

.aa3d-scroll-note {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 750;
    font-size: 0.92rem;
}

.aa3d-scroll-note span {
    width: 18px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    position: relative;
}

.aa3d-scroll-note span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 4px;
    height: 7px;
    border-radius: 999px;
    background: var(--aa3d-yellow);
    transform: translateX(-50%);
    animation: aa3dScrollDot 1.4s ease-in-out infinite;
}

@keyframes aa3dScrollDot {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.35; }
    50% { transform: translate(-50%, 10px); opacity: 1; }
}

.aa3d-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.aa3d-service-grid article,
.aa3d-case-list span,
.aa3d-partners strong,
.aa3d-check-list li {
    border: 1px solid var(--aa3d-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.aa3d-service-grid article {
    padding: 14px;
}

.aa3d-service-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1rem;
}

.aa3d-service-grid span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
    font-size: 0.92rem;
}

.aa3d-check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aa3d-check-list li {
    padding: 12px 14px;
    color: #fff;
    font-weight: 750;
}

.aa3d-case-list,
.aa3d-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aa3d-case-list span,
.aa3d-partners strong {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 13px;
    color: #fff;
    font-weight: 850;
}

.aa3d-partners strong {
    color: #111827;
    background: var(--aa3d-yellow);
    border-color: rgba(250, 204, 21, 0.42);
}

.aa3d-reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.62s ease, transform 0.62s ease;
}

.aa3d-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.aa3d-footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 28px 20px;
    background: rgba(7, 11, 22, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.aa3d-footer span {
    color: rgba(255, 255, 255, 0.66);
}

.aa3d-footer a {
    color: var(--aa3d-yellow);
    font-weight: 900;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .aa3d-page *,
    .aa3d-page *::before,
    .aa3d-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .aa3d-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .aa3d-page .public-nav-phone {
        display: none;
    }

    .aa3d-copy {
        width: min(560px, 100%);
    }
}

@media (max-width: 920px) {
    .aa3d-page .public-nav-section {
        display: none;
    }

    .aa3d-vignette {
        background:
            radial-gradient(circle at 76% 34%, transparent 0%, rgba(7, 11, 22, 0.22) 30%, rgba(7, 11, 22, 0.9) 100%),
            linear-gradient(90deg, rgba(7, 11, 22, 0.94) 0%, rgba(7, 11, 22, 0.75) 60%, rgba(7, 11, 22, 0.42) 100%);
    }
}

@media (max-width: 768px) {
    .aa3d-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .aa3d-page .public-nav-section,
    .aa3d-page .public-nav-phone {
        display: flex;
    }

    .aa3d-page .nav-container {
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .aa3d-page .hamburger {
        display: flex !important;
        position: absolute;
        top: 22px;
        left: min(330px, calc(100vw - 45px));
        right: auto;
        margin-left: 0;
    }

    .aa3d-page .nav-menu {
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
    }

    .aa3d-page .nav-phone-link {
        display: inline-flex;
        margin: 10px auto 0;
        padding: 12px 16px;
    }

    .aa3d-canvas,
    .aa3d-vignette,
    .aa3d-speed-lines {
        inset: 70px 0 0;
        height: calc(100svh - 70px);
    }

    .aa3d-panel {
        min-height: calc(100svh - 70px);
        padding: 44px 14px;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .aa3d-hero {
        align-items: center;
    }

    .aa3d-panel-right {
        justify-content: flex-start;
    }

    .aa3d-copy,
    .aa3d-hero .aa3d-copy,
    .aa3d-final .aa3d-copy {
        flex: 0 1 auto;
        width: min(344px, calc(100vw - 42px)) !important;
        max-width: min(344px, calc(100vw - 42px)) !important;
        min-width: 0;
        overflow: hidden;
        padding: 18px;
        border: 1px solid var(--aa3d-line);
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.52));
        box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32);
        backdrop-filter: blur(16px);
    }

    .aa3d-logo {
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
    }

    .aa3d-copy h1 {
        font-size: clamp(2rem, 11.4vw, 3rem);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .aa3d-copy h2 {
        font-size: clamp(1.7rem, 9.8vw, 2.55rem);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .aa3d-copy p {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .aa3d-actions,
    .aa3d-case-list,
    .aa3d-partners {
        align-items: stretch;
    }

    .aa3d-btn {
        width: 100%;
    }

    .aa3d-service-grid {
        grid-template-columns: 1fr;
    }

    .aa3d-case-list span,
    .aa3d-partners strong {
        flex: 1 1 100%;
        justify-content: center;
    }

    .aa3d-scroll-note {
        display: none;
    }

    .aa3d-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .aa3d-copy,
    .aa3d-hero .aa3d-copy,
    .aa3d-final .aa3d-copy {
        width: min(344px, calc(100vw - 42px)) !important;
        max-width: min(344px, calc(100vw - 42px)) !important;
        padding: 16px;
    }

    .aa3d-kicker {
        font-size: 0.72rem;
    }

    .aa3d-kicker::before {
        width: 18px;
    }
}
