﻿

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    min-height: 100vh;
    transition: var(--transition);
}

    .app-container.sidebar-collapsed {
    }

.compact-form-container {
    max-width: 1200px;
    min-width: 100vh;
    margin: 0 auto;
    padding: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}


.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
}

    .glass-effect .sidebar {
        background: rgba(255, 255, 255, 0.7);
    }

.dark-mode.glass-effect .sidebar {
    background: var(--dark-surface);
}

.floating-sidebar-toggle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .floating-sidebar-toggle:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
    }


.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--dark-surface);
    border-right: 1px solid var(--gray-light);
    z-index: 100;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .sidebar.collapsed {
        width: 0px !important;
    }

.sidebar-header {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-light);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    height: 32px;
    width: 132px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
}

.dark-mode .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    transition: var(--transition);
}

.sidebar.collapsed .brand-text {
    opacity: 0;
    visibility: hidden;
}

.sidebar-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: none;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .action-btn:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

.user-profile {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.sidebar.collapsed .user-profile {
    justify-content: center;
    padding: 1.5rem 0.5rem;
}

.avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

    .status-indicator.online {
        background: var(--success);
    }

.user-info {
    flex: 1;
    overflow: hidden;
    transition: var(--transition);
}

.sidebar.collapsed .user-info {
    opacity: 0;
    visibility: hidden;
    width: 0;
}

.user-name {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
    transition: var(--transition);
}

.sidebar.collapsed .sidebar-search {
    padding: 1rem 0.5rem;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-light);
    background: var(--white);
    color: var(--dark);
    font-size: 0.875rem;
    transition: var(--transition);
}

    .search-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 110;
    max-height: 300px;
    overflow-y: auto;
}

    .search-results.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.search-result-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

    .search-result-item:hover {
        background: var(--gray-light);
    }

    .search-result-item i {
        font-size: 1rem;
        color: var(--primary);
    }

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
}

.sidebar-menu {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 90vh;
    overflow-y: scroll
}

.menu-section {
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
    /*margin-bottom: 0.5rem;*/
    transition: var(--transition);
}

.sidebar.collapsed .section-header {
    padding: 0.5rem 0.75rem;
}

.section-header span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    white-space: nowrap;
    transition: var(--transition);
}

.sidebar.collapsed .section-header span {
    opacity: 0;
    visibility: hidden;
}

.section-action {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .section-action:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

.menu-items {
    list-style: none;
}

.menu-item {
    position: relative;
}

    .menu-item.active {
        background: rgba(99, 102, 241, 0.1);
    }

        .menu-item.active .menu-link {
            color: var(--primary);
        }

        .menu-item.active .menu-icon {
            color: var(--primary);
        }

    .menu-item.has-submenu.open > .menu-link .menu-arrow i {
        transform: rotate(180deg);
    }

.menu-link {
    display: flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar.collapsed .menu-link {
    padding: 0.75rem 0.5rem;
    justify-content: center;
}

.menu-link:hover {
    background: var(--gray-light);
    color: var(--dark)
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gray);
    transition: var(--transition);
}

.menu-text {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.75rem;
    white-space: nowrap;
    transition: var(--transition);
}

.sidebar.collapsed .menu-text {
    opacity: 0;
    visibility: hidden;
    margin-left: 0;
}

.menu-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    background: var(--gray-light);
    color: var(--dark);
    margin-left: 0.5rem;
}

    .menu-badge.new {
        background: var(--primary);
        color: white;
    }

.menu-arrow {
    margin-left: 0.5rem;
    transition: var(--transition);
}

    .menu-arrow i {
        font-size: 0.75rem;
        transition: var(--transition);
    }

.sidebar.collapsed .menu-arrow {
    display: none;
}

.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.menu-item.has-submenu.open > .submenu {
    max-height: 500px;
}

.submenu-item {
    position: relative;
}

    .submenu-item.active {
        background: rgba(99, 102, 241, 0.05);
    }

        .submenu-item.active .submenu-link {
            color: var(--primary);
        }

.submenu-link {
    display: flex;
    align-items: center;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: var(--transition);
}

.sidebar.collapsed .submenu-link {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    justify-content: center;
}

.submenu-link:hover {
    background: var(--gray-light);
    color: var(--primary);
}

.submenu-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: var(--gray);
    transition: var(--transition);
}

.sidebar.collapsed .submenu-icon {
    margin-right: 0;
}

.submenu-text {
    flex: 1;
    white-space: nowrap;
    transition: var(--transition);
}

.sidebar.collapsed .submenu-text {
    opacity: 0;
    visibility: hidden;
}

.projects-list {
    padding: 0 1.5rem;
    transition: var(--transition);
}

.sidebar.collapsed .projects-list {
    padding: 0 0.5rem;
}

.project-item {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

    .project-item:hover {
        border-color: var(--primary);
        box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
    }

.project-info {
    margin-bottom: 0.5rem;
}

.project-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-progress {
    height: 6px;
    background: var(--gray-light);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--gray);
}

.project-members {
    display: flex;
    align-items: center;
}

.member-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    margin-left: -8px;
}

    .member-avatar:first-child {
        margin-left: 0;
    }

.more-members {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray-dark);
    font-size: 0.625rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-light);
    transition: var(--transition);
}

.sidebar.collapsed .sidebar-footer {
    padding: 1rem 0.5rem;
}

.upgrade-btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border: none;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

    .upgrade-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
    }

.sidebar.collapsed .upgrade-btn span {
    display: none;
}

.main-content {
    flex: 1;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar-collapsed .main-content {
}

.top-navbar {
    height: var(--top-navbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 90;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: none;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .sidebar-toggle:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    font-size: 0.875rem;
    color: var(--gray);
}

    .breadcrumb-item a {
        color: var(--primary);
        text-decoration: none;
        transition: var(--transition);
    }

        .breadcrumb-item a:hover {
            text-decoration: underline;
        }

.breadcrumb-separator {
    font-size: 0.75rem;
    color: var(--gray);
}

.navbar-right {
    display: flex;
    align-items: center;
}

.notifications {
    position: relative;
}

    .notifications .dropdown-toggle {
        width: 36px;
        height: 36px;
        border-radius: var(--border-radius-sm);
        background: transparent;
        border: none;
        color: var(--gray);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
    }

        .notifications .dropdown-toggle:hover {
            background: var(--gray-light);
            color: var(--primary);
        }

    .notifications .badge {
        position: absolute;
        top: -4px;
        right: 15px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--danger);
        color: white;
        font-size: 0.625rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .notifications .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 320px;
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
        z-index: 100;
    }

    .notifications.show .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .dropdown-header h6 {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--dark);
    }

    .dropdown-header button {
        background: none;
        border: none;
        color: var(--primary);
        font-size: 0.8125rem;
        font-weight: 500;
        cursor: pointer;
    }

.dropdown-body {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

    .notification-item.unread {
        background: rgba(59, 130, 246, 0.05);
    }

    .notification-item:last-child {
        border-bottom: none;
    }

    .notification-item:hover {
        background: var(--gray-light);
    }

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

    .notification-icon.primary {
        background: var(--primary);
    }

    .notification-icon.success {
        background: var(--success);
    }

    .notification-icon i {
        font-size: 1rem;
    }

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.8125rem;
    color: var(--gray-dark);
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--gray);
}

.dropdown-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--gray-light);
    text-align: center;
}

    .dropdown-footer a {
        color: var(--primary);
        font-size: 0.8125rem;
        font-weight: 500;
        text-decoration: none;
    }

        .dropdown-footer a:hover {
            text-decoration: underline;
        }

.quick-actions {
    position: relative;
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: none;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    /*margin-left: 12px;*/
}

    .quick-action-btn:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

.quick-create-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

    .quick-create-menu.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.quick-create-header {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

    .quick-create-header h6 {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--dark);
    }

.quick-create-items {
    padding: 0.5rem 0;
}

.quick-create-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

    .quick-create-item:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

    .quick-create-item i {
        font-size: 1rem;
        color: var(--gray);
    }

    .quick-create-item:hover i {
        color: var(--primary);
    }

.user-dropdown {
    position: relative;
}

    .user-dropdown .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: transparent;
        border: none;
        color: var(--dark);
        cursor: pointer;
        transition: var(--transition);
    }

    .user-dropdown .user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
    }

    .user-dropdown .user-name {
        font-size: 0.875rem;
        font-weight: 500;
    }

    .user-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
        z-index: 100;
    }

    .user-dropdown.show .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.dropdown-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

    .dropdown-item:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

    .dropdown-item i {
        font-size: 0.875rem;
        color: var(--gray);
        width: 20px;
        text-align: center;
    }

.dropdown-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 0.25rem 0;
}

.content-area {
}

.welcome-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.banner-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.banner-content p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.banner-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .banner-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.dynamic-content {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-container {
    width: 100%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    animation: modalEnter 0.3s ease forwards;
}

@keyframes modalEnter {
    to {
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .modal-header h5 {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--dark);
        margin: 0;
    }

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

    .modal-close:hover {
        background: var(--gray-light);
        color: var(--danger);
    }

.modal-body {
    padding: 1.5rem;
}

.pricing-plans {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-plan {
    flex: 1;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

    .pricing-plan:hover {
        border-color: var(--primary);
    }

    .pricing-plan.selected {
        border-color: var(--primary);
        box-shadow: 0 0 0 1px var(--primary);
    }

    .pricing-plan.recommended {
        border-top: 3px solid var(--primary);
    }

.plan-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
}

.plan-header {
    margin-bottom: 1rem;
}

    .plan-header h6 {
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 0.5rem;
    }

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

    .plan-price span {
        font-size: 0.875rem;
        font-weight: 400;
        color: var(--gray);
    }

.plan-features {
    list-style: none;
}

    .plan-features li {
        font-size: 0.8125rem;
        color: var(--gray-dark);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .plan-features li i {
            font-size: 0.75rem;
        }

            .plan-features li i.bi-check {
                color: var(--success);
            }

            .plan-features li i.bi-x {
                color: var(--gray);
            }

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--dark);
}

    .btn-secondary:hover {
        background: var(--gray);
        color: white;
    }

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-hover);
    }

.ps {
    height: 100%;
    overflow: hidden !important;
    touch-action: auto;
}

@media (max-width: 700px) {
    .app-container {
        margin-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }

        .sidebar.show {
            transform: translateX(0);
        }

        .sidebar.collapsed {
            transform: translateX(-100%);
            width: 0px !important;
        }

            .sidebar.collapsed.show {
                transform: translateX(0);
            }

    .main-content {
        margin-left: 0;
    }

    .floating-sidebar-toggle {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        border: none;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        z-index: 1000;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }
}

@media (max-width: 768px) {
    .top-navbar {
        padding: 0 1rem;
    }

    .user-dropdown .user-name {
        display: none;
    }

    .content-area {
    }

    .pricing-plans {
        flex-direction: column;
    }

    .floating-sidebar-toggle {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        border: none;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }
}

.ps {
    position: relative;
}

.ps__rail-x {
    display: none;
}

.ps__rail-y {
    width: 6px;
    background-color: transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    right: 0;
}

.ps:hover > .ps__rail-y,
.ps--focus > .ps__rail-y,
.ps--scrolling-y > .ps__rail-y {
    opacity: 0.6;
}

.ps__thumb-y {
    background-color: rgba(100, 116, 139, 0.6);
    border-radius: 3px;
    width: 6px;
    position: absolute;
    right: 0;
}

    .ps__thumb-y:hover,
    .ps__thumb-y:active {
        background-color: rgba(100, 116, 139, 0.8);
        width: 8px;
        right: -1px;
    }

.dark-mode .ps__thumb-y {
    background-color: rgba(148, 163, 184, 0.6);
}

    .dark-mode .ps__thumb-y:hover,
    .dark-mode .ps__thumb-y:active {
        background-color: rgba(148, 163, 184, 0.8);
    }

.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

    .scroll-container::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .scroll-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .scroll-container::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 3px;
    }

.dark-mode .scroll-container {
    scrollbar-color: var(--dark-primary) transparent;
}

    .dark-mode .scroll-container::-webkit-scrollbar-thumb {
        background-color: var(--dark-primary);
    }

.quick-actions {
    position: relative;
    /*margin-right: 1rem;*/
}

.quick-action-btn {
    background: none;
    border: none;
    color: var(--gray-dark);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

    .quick-action-btn:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

.quick-create-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    border: var(--glass-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

    .quick-create-menu.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.quick-create-header {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

    .quick-create-header h6 {
        margin: 0;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--gray-dark);
    }

.quick-create-items {
    padding: 0.5rem 0;
}

.quick-create-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition);
}

    .quick-create-item:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

    .quick-create-item i {
        font-size: 1rem;
    }

.user-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

    .dropdown-toggle:hover {
        color: var(--primary);
    }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.dark-mode .user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-text);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    border: var(--glass-border);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition);
}

    .dropdown-item:hover {
        background: var(--gray-light);
        color: var(--primary);
    }

    .dropdown-item i {
        font-size: 0.875rem;
        width: 20px;
        text-align: center;
    }

.dropdown-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 0.25rem 0;
}

.dark-mode .quick-action-btn,
.dark-mode .dropdown-toggle {
    color: var(--dark-text);
}

    .dark-mode .quick-action-btn:hover,
    .dark-mode .dropdown-toggle:hover {
        background: var(--dark-border);
        color: var(--dark-primary);
    }

.dark-mode .quick-create-menu,
.dark-mode .dropdown-menu {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
}

.dark-mode .quick-create-header h6 {
    color: var(--dark-text);
}

.dark-mode .quick-create-item,
.dark-mode .dropdown-item {
    color: var(--dark-text);
}

    .dark-mode .quick-create-item:hover,
    .dark-mode .dropdown-item:hover {
        background: var(--dark-border);
        color: var(--dark-primary);
    }

.dark-mode .quick-create-header,
.dark-mode .dropdown-divider {
    border-color: var(--dark-border);
}

.dark-mode .dropdown-item i {
    color: var(--dark-text);
}

.password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    flex: 1;
    background: #e2e8f0;
    overflow: hidden;
}

    .strength-bar::after {
        content: "";
        display: block;
        height: 100%;
        width: 0;
        transition: width 0.3s, background 0.3s;
    }

    .strength-bar.very-weak::after {
        width: 25%;
        background: #ef4444;
    }

    .strength-bar.weak::after {
        width: 50%;
        background: #f59e0b;
    }

    .strength-bar.medium::after {
        width: 75%;
        background: #3b82f6;
    }

    .strength-bar.strong::after {
        width: 100%;
        background: #10b981;
    }

.password-strength span {
    font-size: 0.75rem;
    color: #64748b;
}

.checkbox-container a {
    color: #4361ee;
    text-decoration: none;
}

    .checkbox-container a:hover {
        text-decoration: underline;
    }

.auth-form {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

    .auth-header h2 {
        font-size: 1.5rem;
        color: #1e293b;
        margin-bottom: 8px;
    }

    .auth-header p {
        color: #64748b;
        font-size: 0.9rem;
    }

.form-group {
    margin-bottom: 20px;
    position: relative;
}

    .form-group.floating label {
        position: absolute;
        top: 15px;
        left: 15px;
        color: #94a3b8;
        transition: all 0.3s;
        pointer-events: none;
        background: white;
        padding: 0 5px;
    }

    .form-group.floating .form-control:focus ~ label,
    .form-group.floating .form-control:not(:placeholder-shown) ~ label {
        top: -10px;
        left: 10px;
        font-size: 0.75rem;
        color: #4361ee;
    }

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #4361ee;
        outline: none;
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    }

.password-input {
    position: relative;
}

.password-input .form-control {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
}

    .toggle-password:hover {
        color: #4361ee;
    }

    .toggle-password:focus-visible {
        outline: 2px solid #4361ee;
        outline-offset: 1px;
    }

    .toggle-password svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
}

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

.checkmark {
    height: 18px;
    width: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #4361ee;
    border-color: #4361ee;
}

    .checkbox-container input:checked ~ .checkmark:after {
        content: "✓";
        color: white;
        font-size: 0.7rem;
    }

.forgot-password {
    font-size: 0.9rem;
    color: #4361ee;
    text-decoration: none;
    transition: all 0.2s;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.auth-button {
    width: 100%;
    padding: 15px;
    background-color: #4361ee;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .auth-button:hover {
        background-color: #3a56d4;
    }

    .auth-button:disabled {
        background-color: #c7d2fe;
        cursor: not-allowed;
    }

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #94a3b8;
    font-size: 0.8rem;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }

    .auth-divider::before {
        margin-right: 10px;
    }

    .auth-divider::after {
        margin-left: 10px;
    }

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

    .social-btn:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

    .social-btn.google {
        color: #db4437;
    }

    .social-btn.microsoft {
        color: #0078d7;
    }

.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

    .auth-switch a {
        color: #4361ee;
        text-decoration: none;
        font-weight: 500;
        margin-left: 5px;
    }

        .auth-switch a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .social-login {
        flex-direction: column;
    }
}

.validation-message {
    display: block;
    font-size: 0.6rem;
    color: #ef4444; /* Red-500 */
    transform: translateY(-5px);
    transition: all 0.2s ease;
    height: 0;
}

.input-invalid .validation-message {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.input-invalid .form-control {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}


.idc-compact {
    width: 100%;
    font-family: system-ui, Arial, sans-serif;
    font-size: 12px; /* small text */
    line-height: 1.2;
}

.idc-empty {
    text-align: center;
    color: #555;
    padding: 8px;
    font-size: 12px;
}

.idc-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
}

    .idc-table th,
    .idc-table td {
        border: 1px solid #ccc;
        padding: 4px 6px;
        text-align: left;
        word-break: break-word;
    }

    .idc-table th {
        background: #f5f5f5;
        font-weight: 600;
        width: 30%;
    }

@media (max-width: 600px) {
    .idc-table th,
    .idc-table td {
        font-size: 11px; 
        padding: 3px 4px;
    }
}
.idc-multi {
    font-family: system-ui, Arial, sans-serif;
    font-size: 12px; /* small text */
    line-height: 1.2;
    width: 100%;
}

.idc-empty {
    text-align: center;
    color: #555;
    padding: 8px;
    font-size: 12px;
}

/* Each DB row becomes a flex container */
.idc-row {
    display: flex;
    flex-wrap: wrap; /* allow wrap if needed */
    border-bottom: 1px solid #ddd;
    padding: 4px 0;
}

.idc-cell {
    flex: 1 1 45%; /* min 2 cells per row on wide screens */
    min-width: 200px;
    padding: 2px 6px;
    box-sizing: border-box;
    display: flex;
    gap: 4px;
}

.idc-key {
    font-weight: 600;
    color: #444;
    margin-right: 4px;
    white-space: nowrap;
}

.idc-value {
    color: #111;
    word-break: break-word;
}

@media (max-width: 600px) {
    .idc-cell {
        flex: 1 1 100%;
        min-width: 0;
    }
}
/* Root container */
.modern-details {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 13px; /* compact text */
    color: #1f2937;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* message when empty */
.md-empty {
    text-align: center;
    color: #6b7280;
    padding: 12px;
    font-size: 13px;
}

/* Each database row becomes a flex row of fields */
.md-row {
    display: flex;
    flex-wrap: wrap;
    margin: 6px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 6px 10px;
}

/* Each field: key/value pair */
.md-cell {
    flex: 1 1 45%; /* at least 2 cells per line */
    min-width: 200px;
    padding: 4px 10px;
    box-sizing: border-box;
    border-left: 1px solid #e5e7eb;
}

    .md-cell:first-child {
        border-left: none;
    }

.md-key {
    font-weight: 600;
    color: #374151;
    margin-bottom: 2px;
    font-size: 12px;
    text-transform: capitalize;
}

.md-value {
    color: #111827;
    word-break: break-word;
    font-size: 13px;
}

/* Hover effect for modern feel */
.md-cell:hover {
    background: #f9fafb;
}

/* Responsive: stack to 1 column on very narrow screens */
@media (max-width: 600px) {
    .md-cell {
        flex: 1 1 100%;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-top: 8px;
    }

        .md-cell:first-child {
            border-top: none;
        }
}
.ultra-compact-form {
    --uc-primary: #4361ee;
    --uc-border: #b1aaaa;
    --uc-error: #dc3545;
    --uc-text: #333;
    --uc-label: #555;
    --uc-bg: #fff;
    --uc-hover: #f5f5f5;
    --uc-radius: 4px;
    --uc-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-size: 0.75rem; /* smaller for compact form */
}

.description-box {
    min-height: 4rem;
    resize: vertical;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.uc-section {
    background: var(--uc-white);
    border-radius: var(--uc-radius);
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.25rem;
    box-shadow: var(--uc-shadow);
    border: 1px solid var(--uc-border);
}

.uc-section-title {
    color: var(--gray);
    font-size: 0.575rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.uc-grid-member {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.2rem;
}

.uc-field.small {
    grid-column: span 1;
}

.uc-field.medium {
    grid-column: span 2;
}

.uc-field.large {
    grid-column: span 3;
}

.uc-field.xlarge {
    grid-column: span 4;
}

@media (max-width: 768px) {
    .uc-field.small, .uc-field.large {
        grid-column: span 1 !important;
    }
}

.uc-field label {
    display: block;
    font-size: 0.5875rem;
    color: var(--gray);
    margin-bottom: 0.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.uc-input,
.uc-select,
.uc-textarea {
    width: 100%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border: 1px solid var(--uc-border);
    border-radius: var(--uc-radius);
    height: 25px;
    line-height: 1.2;
    resize: none; /* textarea fixed height */
    box-sizing: border-box;
    background: var(--white);
    color: var(--gray) !important;
}

    .uc-input:focus,
    .uc-select:focus,
    .uc-textarea:focus {
        border-color: var(--uc-primary);
        outline: none;
        box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
        color: var(--gray) !important;
    }

.validation-summary {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.uc-error {
    font-size: 0.625rem;
    color: var(--uc-error);
    margin-top: 0.125rem;
    height: 0.75rem;
}

.uc-address-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.uc-address-section {
    width: 100%;
    background-color: var(--white) !important;
    border-radius: var(--uc-radius);
    padding: 0.5rem;
    box-shadow: var(--uc-shadow);
    border: 1px solid var(--uc-border);
}

.uc-address-title {
    font-size: 0.6125rem;
    color: var(--uc-text);
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.uc-checkbox {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.55rem;
}

    .uc-checkbox input[type="checkbox"] {
        width: 14px;
        height: 14px;
        margin: 0;
    }

.uc-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-top: 1px solid var(--uc-border);
}

.uc-submit-btn {
    background-color: var(--uc-primary);
    color: white;
    border: none;
    padding: 0 0.75rem;
    border-radius: var(--uc-radius);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: background-color 0.15s;
    height: 28px;
    line-height: 1.2;
}

.uc-input[type="file"] {
    display: block;
    width: 100%;
    /* padding: 0.4rem; */
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.5rem;
    background-color: #f9fafb; /* gray-50 */
    font-size: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: var(--gray) !important;
}

    .uc-input[type="file"]:hover {
        border-color: #6366f1;
        background-color: #eef2ff;
    }

    .uc-input[type="file"]:focus {
        outline: none;
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    }

.uc-input::file-selector-button {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 0.4rem;
    background-color: #6366f1;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

    .uc-input::file-selector-button:hover {
        background-color: #4f46e5;
    }

.uc-submit-btn:hover {
    background-color: #3a56d4;
}


@media (max-width: 768px) {
    .uc-grid-member {
        grid-template-columns: 1fr 1fr;
    }

    .uc-address-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .uc-grid-member {
        grid-template-columns: 1fr;
    }

    .uc-form-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 1024px) {
    .uc-field.large {
        grid-column: span 2;
    }

    .uc-field.xlarge {
        grid-column: span 2;
    }

    .uc-field.medium {
        grid-column: span 2;
    }

    .uc-field.small {
        grid-column: span 1;
    }
}

/* Mobile: all fields full width */
@media (max-width: 768px) {
    .uc-field.large, .uc-field.medium, .uc-field.small, .uc-field.xlarge {
        grid-column: span 1;
    }
}
