/* Navigation */
.navbar, .navbar-app {
    background: rgba(0, 42, 36, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(1, 249, 196, 0.1);
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.2s;
    text-transform: uppercase;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand img {
    height: 28px;
    width: auto;
}

.nav-brand-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 300;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--light-green);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-text, .btn-sm, .btn-action {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 300;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.9375rem;
    text-align: center;
    font-family: 'SetupGrotesk', sans-serif;
}

.btn-primary {
    background: var(--action-orange);
    color: var(--white);
    font-weight: 700;
}

.btn-primary:hover {
    background: #e04615;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(246, 81, 29, 0.4);
}

.btn-action {
    background: var(--action-orange);
    color: var(--white);
    font-weight: 700;
}

.btn-action:hover {
    background: #e04615;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(246, 81, 29, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.btn-secondary:hover {
    background: var(--dark-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-hero {
    background: var(--action-orange);
    color: var(--white);
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 20px 40px -10px rgba(246, 81, 29, 0.3);
}

.btn-hero:hover {
    background: #e04615;
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -10px rgba(246, 81, 29, 0.5);
}

.btn-text {
    background: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    font-weight: 300;
}

.btn-text:hover {
    color: var(--white);
}

.btn-logout {
    background: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-logout:hover {
    color: var(--white);
}

.btn-edit {
    background: var(--dark-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-edit:hover {
    background: var(--black);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: var(--action-orange);
    color: var(--white);
    font-weight: 700;
}

.btn-sm:hover {
    background: #e04615;
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row .form-group {
    min-width: 0;
}

.form-row .form-group input {
    width: 100%;
    min-width: 0;
}

.form-group label {
    font-weight: 300;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.form-group input, .form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.2s;
    font-family: 'SetupGrotesk', sans-serif;
    background: var(--white);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: 0 0 0 4px rgba(1, 249, 196, 0.1);
}

/* Dashboard */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 80px);
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 700;
}

.dashboard-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    font-weight: 300;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-overview-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(246, 81, 29, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
}

.company-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.company-overview-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.company-overview-title p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.company-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.company-overview-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-overview-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.company-overview-value {
    font-size: 1.125rem;
    color: var(--gray-900);
    font-weight: 300;
}

.document-automation-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(246, 81, 29, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
}

.document-automation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.document-automation-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin: 0;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 300;
}

.powered-by-badge {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-green-darker) 100%);
    color: var(--dark-green);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* LEXR Standard Certification Card */
.certification-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(246, 81, 29, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.certification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.certification-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.certification-header p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    font-weight: 300;
}

.certification-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.certification-tier {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.certification-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.15);
}

.tier-free {
    border-color: var(--gray-300);
}

.tier-premium {
    border-color: var(--light-green);
    background: linear-gradient(135deg, rgba(1, 249, 196, 0.05) 0%, var(--white) 100%);
}

.tier-premium:hover {
    border-color: var(--light-green-darker);
    box-shadow: 0 8px 24px -4px rgba(1, 249, 196, 0.3);
}

.tier-expert {
    border-color: var(--action-orange);
    background: linear-gradient(135deg, rgba(246, 81, 29, 0.05) 0%, var(--white) 100%);
}

.tier-expert:hover {
    border-color: #e04615;
    box-shadow: 0 8px 24px -4px rgba(246, 81, 29, 0.3);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tier-badge-free {
    background: var(--gray-200);
    color: var(--gray-700);
}

.tier-badge-premium {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-green-darker) 100%);
    color: var(--dark-green);
    box-shadow: 0 4px 12px -2px rgba(1, 249, 196, 0.4);
}

.tier-badge-expert {
    background: linear-gradient(135deg, var(--action-orange) 0%, #e04615 100%);
    color: var(--white);
    box-shadow: 0 4px 12px -2px rgba(246, 81, 29, 0.4);
}

.certification-tier h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.tier-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.tier-features {
    list-style: none;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.tier-features li {
    font-size: 0.8125rem;
    color: var(--gray-700);
    font-weight: 300;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.tier-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--dark-green);
    font-weight: 700;
}

.tier-premium .tier-features li::before {
    color: var(--light-green-darker);
}

.tier-expert .tier-features li::before {
    color: var(--action-orange);
}

.btn-tier {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: 'SetupGrotesk', sans-serif;
    margin-top: auto;
}

.btn-tier-free {
    background: var(--gray-900);
    color: var(--white);
}

.btn-tier-free:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

.btn-tier-premium {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-green-darker) 100%);
    color: var(--dark-green);
}

.btn-tier-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(1, 249, 196, 0.5);
}

.btn-tier-expert {
    background: linear-gradient(135deg, var(--action-orange) 0%, #e04615 100%);
    color: var(--white);
}

.btn-tier-expert:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(246, 81, 29, 0.5);
}

@media (max-width: 768px) {
    .certification-tiers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .certification-tier {
        padding: 1.5rem;
    }
    
    .tier-badge {
        right: 1rem;
        left: auto;
        transform: none;
    }
}

.document-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray-900);
    transition: all 0.3s;
}

.document-link:hover {
    border-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.document-link-icon {
    width: 40px;
    height: 40px;
    background: var(--light-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-link-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--dark-green);
}

.document-link-text {
    flex: 1;
    font-weight: 300;
    font-size: 0.9375rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(246, 81, 29, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
}

.card:hover {
    box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    border-color: rgba(246, 81, 29, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-green);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.2;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.company-info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.company-info-item:last-child {
    border-bottom: none;
}

.company-info-label {
    color: var(--gray-500);
    font-size: 0.9375rem;
    font-weight: 300;
}

.company-info-value {
    color: var(--gray-900);
    font-weight: 300;
    text-align: right;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--dark-green);
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(1, 249, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(1, 249, 196, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.welcome-card p {
    margin-bottom: 2.5rem;
    opacity: 0.8;
    font-size: 1.125rem;
    font-weight: 300;
    position: relative;
    color: var(--gray-700);
}

/* Company Profile */
.zefix-search {
    margin-bottom: 2.5rem;
    position: relative;
}

.zefix-search-group {
    display: flex;
    gap: 1rem;
    position: relative;
}

.zefix-search-group input {
    flex: 1;
}

.zefix-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.zefix-autocomplete.active {
    display: block;
}

.zefix-autocomplete-item {
    padding: 1rem 1.25rem;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s;
    user-select: none;
}

.zefix-autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.zefix-autocomplete-item:hover {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-left: 3px solid var(--light-green);
    padding-left: calc(1.25rem - 3px);
}

.zefix-autocomplete-item.loading {
    text-align: center;
    color: var(--gray-500);
    cursor: default;
    padding: 1.5rem;
}

.zefix-autocomplete-item.loading:hover {
    background: white;
    border-left: none;
    padding-left: 1.25rem;
}

.zefix-company-name {
    font-weight: 300;
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.zefix-company-name strong {
    font-weight: 700;
}

.zefix-company-details {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.helper-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    font-weight: 300;
}

/* Shared section headings for questionnaires (centered with lines) */
.ws-title,
.inv-section-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.ws-title::before,
.ws-title::after,
.inv-section-title::before,
.inv-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
}
.ws-title > span,
.inv-section-title > span {
    position: relative;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 122, 85, 0.12);
    color: var(--dark-green);
}

/* User Profile Dropdown */
.user-profile {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-profile-emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.user-profile-name {
    color: var(--white);
    font-weight: 300;
    font-size: 0.9375rem;
}

.user-profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(1, 249, 196, 0.2);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.user-profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-profile-card {
    padding: 1.5rem;
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.user-profile-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-green-darker) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.user-profile-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.user-profile-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 300;
}

.user-profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-profile-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-profile-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.user-profile-value {
    font-size: 0.9375rem;
    color: var(--gray-900);
    font-weight: 300;
}

.user-profile-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-green-darker) 100%);
    color: var(--dark-green);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-profile-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.user-profile-actions a {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 300;
}

.user-profile-actions a:hover {
    background: var(--gray-50);
    color: var(--dark-green);
}

.user-profile-actions a:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.user-profile-actions a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-profile-actions a:last-child {
    border-radius: 0 0 8px 8px;
}

/* Settings Page */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(246, 81, 29, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
}

.emoji-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emoji-suggestions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.emoji-option {
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
    user-select: none;
}

.emoji-option:hover {
    background: var(--gray-100);
    transform: scale(1.1);
}

.role-display {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-200);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 300;
    margin-bottom: 1rem;
}

.alert-success {
    background: var(--action-orange);
    border: 1px solid #e04615;
    color: var(--white);
}

.alert-error {
    background: #c53030;
    border: 1px solid #9b2c2c;
    color: var(--white);
}

/* Document Automation Description */
.document-automation-description {
    color: var(--gray-600);
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* LEXR Standard Tooltip (display:grid version) */
.lexr-standard-label {
    position: relative;
    cursor: pointer;
    border-bottom: 2px dashed var(--light-green-darker);
    transition: all 0.2s;
    padding-bottom: 1px;
}

.lexr-standard-label:hover {
    color: var(--light-green-darker);
    border-bottom-color: var(--light-green);
}

.lexr-standard-label::after {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-green-darker) 100%);
    color: var(--dark-green);
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 700;
    margin-left: 0.375rem;
    vertical-align: super;
    line-height: 1;
    transition: all 0.2s;
}

.lexr-standard-label:hover::after {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(1, 249, 196, 0.4);
}

.lexr-standard-tooltip {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin 0.4s ease;
    margin-bottom: 0;
}

.lexr-standard-tooltip > .lexr-standard-tooltip-content {
    overflow: hidden;
}

.lexr-standard-tooltip.active {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-bottom: 2rem;
}

.lexr-standard-tooltip-content {
    background: linear-gradient(135deg, rgba(1, 249, 196, 0.08) 0%, rgba(1, 249, 196, 0.03) 100%);
    border: 1px solid rgba(1, 249, 196, 0.25);
    border-radius: 14px;
    padding: 1.5rem;
}

.lexr-standard-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.lexr-standard-tooltip-header strong {
    font-weight: 700;
    color: var(--dark-green);
    font-size: 0.9375rem;
}

.lexr-standard-tooltip-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

.lexr-standard-tooltip-close:hover {
    color: var(--gray-700);
}

.lexr-standard-tooltip-content p {
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.lexr-standard-tooltip-content p:last-child {
    margin-bottom: 0;
}

/* Dashboard card description consistency */
.section-card-description {
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar, .navbar-app {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .dashboard-container {
        padding: 2rem 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .zefix-search-group {
        flex-direction: column;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }
}
