/* HVAC Service Management System - Custom CSS */

:root {
    /* Clean & Professional Color Palette - Consistent across all pages */
    --primary-color: #6b7280;
    --primary-light: #9ca3af;
    --secondary-color: #718096;
    --success-color: #38a169;
    --danger-color: #e53e3e;
    --warning-color: #d69e2e;
    --info-color: #6b7280;
    --light-color: #f7fafc;
    --dark-color: #1a202c;
    
    /* Background Colors - Unified */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-accent: #e2e8f0;
    
    /* Text Colors */
    --text-primary: #6b7280;
    --text-secondary: #718096;
    --text-muted: #a0aec0;
    
    /* Sidebar */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --navbar-height: 64px;
    
    /* Border Radius - Consistent */
    --border-radius-sm: 0.5rem;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Shadows - Clean and minimal */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-color-light: #f1f5f9;
}

/* Base Styles - Unified Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-secondary);
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
}

/* Unified Typography and Colors for ALL Elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

/* Page Headers - Consistent across all pages */
.page-header h1,
.page-header h2 {
    color: var(--text-primary);
    font-weight: 600;
}

.page-subtitle,
.text-muted {
    color: var(--text-muted) !important;
}

/* Card Headers - Unified Style */
.card-header {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
    color: var(--text-primary) !important;
}

.card-header h5,
.card-header .card-title {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

/* Form Labels - Consistent */
.form-label {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

/* Table Headers - Consistent Light Gray */
.clean-table thead th,
table thead th {
    background-color: #f8f9fa !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #dee2e6 !important;
}

/* Links - Consistent Colors */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-light);
}

/* Info Items - Profile Page Consistency */
.info-item strong,
.info-group .info-label {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.info-item .text-muted,
.info-group .info-value {
    color: var(--text-muted) !important;
}

/* Container Width Limits */
.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Keep full width on mobile */
@media (max-width: 768px) {
    .container-fluid {
        max-width: 100%;
        margin: 0;
    }
}



* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
}

/* Quick Date Filters Mobile Responsive */
.quick-date-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 600px; /* Limit width on large screens */
}

.quick-date-filters .btn {
    flex: 1 1 auto;
    min-width: 80px;
    white-space: nowrap;
    background-color: white;
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.quick-date-filters .btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.quick-date-filters .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .quick-date-filters {
        gap: 0.25rem;
    }
    
    .quick-date-filters .btn {
        flex: 1 1 calc(25% - 0.25rem);
        min-width: 65px;
        padding: 0.375rem 0.3rem;
        font-size: 0.8rem;
    }
    
    .quick-date-filters .btn i {
        display: none;
    }
}

@media (max-width: 576px) {
    .quick-date-filters {
        gap: 0.25rem;
        justify-content: space-between;
    }
    
    .quick-date-filters .btn {
        flex: 1 1 calc(25% - 0.25rem);
        min-width: 60px;
        padding: 0.3rem 0.2rem;
        font-size: 0.75rem;
    }
    
    .quick-date-filters .btn i {
        display: none;
    }
}

/* Filter Actions Mobile Responsive */
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 400px; /* Limit width on large screens */
}

.filter-actions .btn,
.filter-actions .btn-group {
    flex: 1 1 auto;
    min-width: 80px;
}

.filter-actions .btn {
    background-color: white;
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.filter-actions .btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.filter-actions .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.filter-actions .btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .filter-actions {
        gap: 0.25rem;
    }
    
    .filter-actions .btn:not(.d-none) {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 70px;
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .filter-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .filter-actions .btn,
    .filter-actions .btn-group {
        flex: none;
        width: 100%;
    }
}

/* Quick Action Buttons for Dashboard */
.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    min-height: 80px;
    border: none;
    position: relative;
    overflow: hidden;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-action-btn:hover::before {
    opacity: 1;
}

.quick-action-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.quick-action-btn i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.quick-action-btn.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.quick-action-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
}

.quick-action-btn.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%);
}

.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Navbar Styles - Consistent with design system */
.navbar {
    z-index: 1030;
    height: var(--navbar-height);
    box-shadow: var(--shadow);
    background: var(--primary-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .nav-link, .navbar .navbar-brand {
    color: #ffffff !important;
}

.navbar .dropdown-toggle {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: var(--border-radius);
    padding: 0.375rem 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.navbar .dropdown-toggle:hover {
    background-color: var(--bg-secondary) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .dropdown-toggle::after {
    color: var(--primary-color) !important;
}

.navbar .fa-bell {
    color: #ffffff !important;
}

.navbar .dropdown-toggle .fa-user {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: #ffffff !important;
}

.navbar-toggler .fa-bars {
    color: #ffffff !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Navbar Mobile Fixes */
@media (max-width: 768px) {
    .navbar .container-fluid {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .navbar-brand {
        margin-left: 0;
        margin-right: auto;
    }
    
    .navbar-nav {
        margin-left: 0 !important;
    }
}

/* Sidebar Styles - Consistent Design */
.sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--navbar-height));
    background: var(--bg-primary);
    color: var(--text-secondary);
    z-index: 1020;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow);
    border-right: 1px solid var(--border-color);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-content {
    padding: 1.5rem 0;
}

.sidebar .nav-link {
    color: var(--text-secondary) !important;
    background-color: var(--bg-secondary) !important;
    padding: 0.875rem 1.5rem;
    margin: 0.125rem 0.75rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.sidebar .nav-link:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateX(2px);
}

.sidebar .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    box-shadow: var(--shadow);
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 0.875rem;
    text-align: center;
    font-size: 1rem;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .nav-link {
    padding: 0.75rem;
    justify-content: center;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

/* Content Area */
.content {
    margin-left: var(--sidebar-width);
    margin-top: var(--navbar-height);
    width: calc(100% - var(--sidebar-width));
    padding: 2rem;
    min-height: calc(100vh - var(--navbar-height));
    transition: all 0.3s ease;
}

.content.expanded {
    margin-left: var(--sidebar-collapsed-width);
    width: calc(100% - var(--sidebar-collapsed-width));
}

/* Statistics Cards - Unified Design */
.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.02) 0%, rgba(74, 85, 104, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%);
}

.stat-card .card-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card .card-title {
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* Form Sections */
.form-section {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
    font-weight: 600;
}

/* Table Container */
.table-container {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: #ffffff;
    border: none;
    font-weight: 600;
    color: #334155;
    padding: 1rem 0.75rem;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
}

.table td {
    padding: 1rem 0.75rem;
    border-color: rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.02);
}

/* Customer and Device Info in Tables */
.customer-info, .device-info {
    min-width: 200px;
}

.customer-info strong, .device-info strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.customer-info .small, .device-info .small {
    color: var(--secondary-color);
    line-height: 1.3;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action, .btn-action-wide {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius);
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-action:hover, .btn-action-wide:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Filter Container - Consistent Design */
.filter-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    z-index: 5;
}

.search-box .form-control {
    padding-left: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-tertiary);
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* Form Actions - Consistent Design */
.form-actions {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.form-actions .btn {
    margin: 0 0.5rem;
    min-width: 120px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Button Styles - Consistent across all pages */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Light buttons with dark hover (as per user preference) */
.btn-outline-secondary, .btn-secondary {
    background-color: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline-secondary:hover, .btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #2f855a;
    border-color: #2f855a;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c53030;
    border-color: #c53030;
    transform: translateY(-1px);
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background-color: #b7791f;
    border-color: #b7791f;
    transform: translateY(-1px);
}

.btn-info {
    background-color: var(--info-color);
    border-color: var(--info-color);
    color: white;
}

.btn-info:hover {
    background-color: #2c5282;
    border-color: #2c5282;
    transform: translateY(-1px);
}

/* Custom Form Validation */
.was-validated .form-control:valid {
    border-color: var(--success-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.5.55 3.14-3.14-.5-.55-2.64 2.64L1.36 4.78l-.55.5 1.49 1.45z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid {
    border-color: var(--danger-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4m0-1.4L5.8 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* Modal Enhancements - Consistent */
.modal-content {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        width: var(--sidebar-collapsed-width);
    }
    
    .sidebar .nav-text {
        display: none;
    }
    
    .sidebar .nav-link {
        padding: 0.75rem;
        justify-content: center;
    }
    
    .sidebar .nav-link i {
        margin-right: 0;
    }
    
    .content {
        margin-left: var(--sidebar-collapsed-width);
        width: calc(100% - var(--sidebar-collapsed-width));
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .sidebar .nav-text {
        display: inline;
    }
    
    .sidebar .nav-link {
        padding: 0.75rem 1.5rem;
        justify-content: flex-start;
    }
    
    .sidebar .nav-link i {
        margin-right: 0.75rem;
    }
    
    .content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
    
    .stat-card .card-number {
        font-size: 2rem;
    }
    
    .action-buttons {
        justify-content: flex-start;
    }
    
    .form-actions .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.125rem;
    }
    
    .btn-action {
        width: 100%;
        justify-content: flex-start;
        padding: 0.5rem 0.75rem;
    }
    
    .customer-info, .device-info {
        min-width: 150px;
    }
}

/* Loading and Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print Styles */
@media print {
    .sidebar, .navbar, .action-buttons, .form-actions {
        display: none !important;
    }
    
    .content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .table-container {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
}

/* Customer Details */
.customer-detail {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.customer-detail strong {
    display: inline-block;
    min-width: 80px;
    color: var(--dark-color);
}

.contact-info, .address-info {
    line-height: 1.4;
}

.contact-info a {
    color: var(--success-color);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--dark-color);
}

/* Modern Services Table Styles */
.service-row:hover {
    background-color: rgba(13, 110, 253, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.phone-link {
    color: var(--success-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.address-link {
    color: var(--info-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.address-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.address-text {
    font-weight: 500;
}

.device-info strong {
    color: var(--primary-color);
}

.complaint-info {
    margin-top: 0.25rem;
}

.date-info strong {
    display: block;
    color: var(--dark-color);
}

/* Quick Date Filter Styles */
.quick-date-filters .btn-group {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quick-date-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.quick-date-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* PC Screen Button Width Limits */
@media (min-width: 768px) {
    .filter-actions .btn {
        max-width: 120px;
    }
    
    .quick-date-filters .btn {
        max-width: 100px;
    }
    
    .btn-group.flex-fill {
        max-width: 140px;
    }
}

/* Empty State Styling */
.empty-state {
    padding: 3rem 2rem;
    text-align: center;
}

.empty-state i {
    color: #6c757d !important;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.empty-state p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Enhanced Filter Container */
.filter-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
}

/* Modern Button Groups */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Enhanced Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Horizontal Action Buttons with 2:1 Ratio */
.btn-group-horizontal {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    width: 100%;
}

.btn-action-wide {
    flex: 2;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-width: 1px;
}

.btn-action-narrow {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius);
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-width: 1px;
}

.btn-action-wide:hover,
.btn-action-narrow:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Enhanced mobile touch targets */
@media (max-width: 768px) {
    .btn-action-wide,
    .btn-action-narrow {
        min-height: 44px;
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }
    
    .btn-group-horizontal {
        gap: 0.375rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    /* Make table more touch-friendly on mobile */
    .table td {
        padding: 0.75rem 0.5rem;
        vertical-align: middle;
    }
    
    .phone-link {
        font-size: 1rem;
        padding: 0.25rem;
        display: inline-block;
    }
    
    .address-link {
        font-size: 0.875rem;
    }
}

/* Improved dropdown menu positioning */
.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Phone link styling without icon */
.phone-link {
    color: var(--success-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.phone-link:hover {
    color: white;
    background-color: var(--success-color);
    text-decoration: none;
}

/* Customer name link styling */
.customer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.customer-link:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

.customer-link strong {
    color: inherit;
}

/* Utility Classes */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cursor-pointer {
    cursor: pointer;
}

.border-start-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.border-start-success {
    border-left: 4px solid var(--success-color) !important;
}

.border-start-warning {
    border-left: 4px solid var(--warning-color) !important;
}

.border-start-info {
    border-left: 4px solid var(--info-color) !important;
}
.btn-action-equal {
    min-width: 40px;
    flex: 1;
}

/* Definition Tabs Style - Consistent */
.definition-tabs {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 10px;
    border: 1px solid var(--border-color);
}

.definition-tabs .nav-link {
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    padding: 12px 20px;
    margin: 0 5px;
    transition: all 0.2s ease;
}

.definition-tabs .nav-link:hover {
    background: rgba(45, 55, 72, 0.1);
    color: var(--primary-color);
}

.definition-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

/* Definition Section - Consistent */
.definition-section {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--success-color);
}

.section-header h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.search-bar input {
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.1);
}

/* Items List - Consistent */
.items-list {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    min-height: 400px;
}

.items-table {
    width: 100%;
    margin: 0;
}

.items-table thead th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.items-table tbody tr {
    border-bottom: 1px solid #e3e6f0;
    transition: background-color 0.2s ease;
}

.items-table tbody tr:hover {
    background-color: #f8f9fc;
}

.items-table tbody tr:last-child {
    border-bottom: none;
}

.items-table td {
    padding: 15px 20px;
    vertical-align: middle;
    border: none;
}

/* Row Icons */
.row-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    margin-right: 15px;
}

.personnel-row .row-icon {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
}

.service-row .row-icon {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
}

.complaint-row .row-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.device-row .row-icon {
    background: #2c5aa0;
}

.brand-row .row-icon {
    background: #e9ecef;
    color: #212529;
}

.model-row .row-icon {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #5a5c69;
}

.operation-row .row-icon {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
}

/* Row Content */
.row-content {
    display: flex;
    align-items: center;
}

.row-details h6 {
    color: #5a5c69;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.row-details p {
    color: #858796;
    margin: 0;
    font-size: 0.85rem;
}

.row-details .phone {
    font-weight: 500;
    color: #667eea;
}

.row-details .email {
    font-style: italic;
    color: #6c757d;
}

.brand-badge {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

/* Row Actions */
.row-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.row-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    min-width: 36px;
}

/* Table Headers - Apply to all definition tables */
.table-container .table thead th {
    background: #f8f9fa !important;
    color: #495057 !important;
    font-weight: 600;
    border: none !important;
    padding: 15px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Responsive Design for Definitions */
@media (max-width: 768px) {
    .definition-tabs {
        padding: 5px;
    }
    
    .definition-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        margin: 2px;
    }
    
    .definition-section {
        padding: 20px 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .items-table td {
        padding: 12px 15px;
    }
    
    .items-table thead th {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
    
    .row-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-right: 10px;
    }
    
    .row-details h6 {
        font-size: 0.9rem;
    }
    
    .row-details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .definition-tabs .nav-link {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .search-bar input {
        padding: 10px 15px;
    }
    
    .items-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .items-table thead,
    .items-table tbody,
    .items-table th,
    .items-table td,
    .items-table tr {
        display: block;
    }
    
    .items-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .items-table tr {
        border: 1px solid #e3e6f0;
        margin-bottom: 10px;
        border-radius: 8px;
        background: white;
        padding: 10px;
    }
    
    .items-table td {
        border: none !important;
        padding: 8px 10px;
        white-space: normal;
    }
    
    .row-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .row-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
}


/* Dashboard Clean Styles - Consistent */
.dashboard-container {
    padding: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Quick Action Buttons - Consistent Design */
.quick-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.2s ease;
    color: inherit;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.quick-btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}

.quick-btn-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.quick-btn-text h6 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-btn-text small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Statistics Cards - Unified Design */
.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.stat-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Clean Table Styles - Unified */
.clean-table-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow-x: auto;
    width: 100%;
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

/* Ensure horizontal scroll is visible on all devices */
.clean-table-container::-webkit-scrollbar {
    height: 8px;
}

.clean-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.clean-table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.clean-table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.table-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-tertiary);
}

.table-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.view-all-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.view-all-btn:hover {
    color: var(--primary-light);
}

.clean-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px; /* Increased for wider content */
}

.clean-table th:nth-child(1) { width: 15%; } /* Müşteri */
.clean-table th:nth-child(2) { width: 12%; } /* Telefon */
.clean-table th:nth-child(3) { width: 20%; } /* Adres */
.clean-table th:nth-child(4) { width: 12%; } /* Cihaz Bilgileri */
.clean-table th:nth-child(5) { width: 10%; } /* Şube */
.clean-table th:nth-child(6) { width: 10%; } /* Personel */
.clean-table th:nth-child(7) { width: 10%; } /* Tarih */
.clean-table th:nth-child(8) { width: 16%; } /* Durum - increased width to prevent text wrapping */
.clean-table th:nth-child(9) { width: 8%; } /* İşlemler - reduced to balance with status column */

.clean-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.clean-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Specific column white-space handling */
.clean-table td:nth-child(8) { /* Status column */
    white-space: nowrap;
}

.clean-table td:nth-child(3) { /* Address column - allow some wrapping */
    white-space: normal;
    max-width: 200px;
}

.clean-table tbody tr:hover {
    background: #f8fafc;
}

.assigned-user {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #edf2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6b7280;
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.user-info strong {
    display: block;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
}

.user-info small {
    color: #718096;
    font-size: 0.75rem;
}

.service-detail {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.priority-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: inline-block;
}

.priority-badge.low {
    background: #dcfce7;
    color: #166534;
}

.priority-badge.medium {
    background: #dbeafe;
    color: #1d4ed8;
}

.priority-badge.high {
    background: #fef3c7;
    color: #d97706;
}

.priority-badge.critical {
    background: #fee2e2;
    color: #dc2626;
}

.table-pagination {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.table-pagination span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pagination {
    display: flex;
    gap: 0.25rem;
}

.page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.page-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-container {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.dashboard-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.dashboard-empty-state h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Calendar Widget Styles - Enhanced Large Version */
.calendar-widget {
    width: 100%;
    margin: 0 auto;
}

.calendar-grid {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: var(--bg-tertiary);
}

.day-header {
    padding: 15px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
}

.day-header:last-child {
    border-right: none;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: var(--bg-primary);
}

.calendar-day {
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    position: relative;
    background-color: var(--bg-primary);
}

.calendar-day:last-child {
    border-right: none;
}

.calendar-day:hover {
    background-color: var(--bg-secondary);
}

.calendar-day.today {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.calendar-day.today .day-number {
    color: white;
}

.calendar-day.other-month {
    color: var(--text-muted);
    background-color: var(--bg-secondary);
}

.calendar-day.has-services {
    cursor: pointer;
    background-color: #f0f9ff;
    border-color: #0ea5e9;
}

.calendar-day.has-services:hover {
    background-color: #e0f2fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.calendar-day .day-number {
    font-weight: 600;
    margin-bottom: 4px;
}

.calendar-day .service-count {
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin-top: 2px;
}

.calendar-day.today .service-count {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* Calendar Navigation */
.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-navigation .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Calendar Legend */
.calendar-legend {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.calendar-legend .badge {
    font-size: 11px;
    padding: 4px 8px;
}

/* Service Details Modal */
#serviceDetailsModal .modal-dialog {
    max-width: 800px;
}

#serviceDetailsModal .list-group-item {
    border-left: 4px solid var(--primary-color);
    margin-bottom: 8px;
    border-radius: var(--border-radius);
}

#serviceDetailsModal .list-group-item:last-child {
    margin-bottom: 0;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .calendar-day {
        min-height: 50px;
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .day-header {
        padding: 10px 4px;
        font-size: 12px;
    }
    
    .calendar-day .service-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Company Info Card Styles */
.company-info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.company-info-card .card-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.company-info-card .card-header h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.company-info-card .card-body {
    padding: 1.5rem;
}

.info-group {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-tertiary);
}

.info-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 1.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-light);
}

.info-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-value a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Settings Form Enhancements */
.settings-form {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.settings-form h5 {
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--bg-tertiary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Mobile adjustments for calendar and company info */
@media (max-width: 768px) {
    .calendar-widget {
        max-width: 100%;
    }
    
    .info-group {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .info-value {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .company-info-card .card-body {
        padding: 1rem;
    }
}
