:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --success-color: #2ecc71;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

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

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

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-new {
    background-color: #ffeaa7;
    color: #d35400;
}

.status-assigned {
    background-color: #a29bfe;
    color: #2d3436;
}

.status-budget {
    background-color: #74b9ff;
    color: white;
}

.status-completed {
    background-color: #55efc4;
    color: #2d3436;
}

.sidebar {
    background-color: var(--primary-color);
    color: white;
    min-height: calc(100vh - 56px);
    padding-top: 20px;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background-color: var(--secondary-color);
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.workflow-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.dashboard-card {
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.user-role-badge {
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

.role-admin {
    background-color: #e74c3c;
    color: white;
}

.role-technician {
    background-color: #3498db;
    color: white;
}

.role-sales {
    background-color: #2ecc71;
    color: white;
}

.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-area:hover {
    border-color: var(--secondary-color);
    background-color: #f8f9fa;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e3f2fd;
}

.alert-position {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 300px;
}