/* TEKY - The Electronics Experts - Complete Stylesheet */

/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #FF6600;
    --primary-dark: #CC5200;
    --secondary-color: #000000;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    --info: #2196F3;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', cursive;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    color: var(--bg-color);
}

.logo-teky {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-tagline {
    font-size: 12px;
    color: var(--bg-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--bg-color);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-color);
    font-size: 24px;
    cursor: pointer;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-success {
    background: var(--success);
    color: var(--bg-color);
}

.btn-success:hover {
    background: #388E3C;
}

.btn-danger {
    background: var(--error);
    color: var(--bg-color);
}

.btn-danger:hover {
    background: #D32F2F;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(255,102,0,0.7)),
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920') center/cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--bg-color);
    padding: 80px 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.search-bar-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.search-bar {
    display: flex;
    background: var(--bg-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-bar input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-family: 'Comfortaa', cursive;
    font-size: 15px;
    outline: none;
}

.search-bar button {
    border-radius: 0 50px 50px 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* ========== SECTIONS ========== */
.services-section,
.features-section,
.testimonials-section,
.map-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* ========== SERVICES GRID ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--bg-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* ========== FEATURES ========== */
.features-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
}

/* ========== TESTIMONIALS ========== */
.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #DDD;
    font-size: 18px;
}

.testimonial-rating i.active {
    color: var(--warning);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-color);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========== FORMS ========== */
.form-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 12px;
}

.form-actions {
    margin-top: 30px;
}

.location-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.location-status {
    color: var(--success);
    font-size: 14px;
}

/* ========== ALERTS ========== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #E8F5E9;
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #FFEBEE;
    color: var(--error);
    border-left: 4px solid var(--error);
}

.alert-warning {
    background: #FFF8E1;
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #E3F2FD;
    color: var(--info);
    border-left: 4px solid var(--info);
}

/* ========== AUTH PAGES ========== */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--bg-light);
}

.auth-wrapper {
    max-width: 450px;
    margin: 0 auto;
}

.auth-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-light);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========== DASHBOARD ========== */
.dashboard {
    min-height: calc(100vh - 200px);
    padding: 30px 0;
    background: var(--bg-light);
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 30px 0;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-header {
    text-align: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.sidebar-header i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sidebar-header h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.user-role {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.menu-item i {
    font-size: 18px;
    width: 20px;
}

.menu-item:hover,
.menu-item.active {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.menu-item .badge {
    background: #f44336;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: auto;
    font-weight: 600;
}

.dashboard-content {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-header h1 {
    font-size: 28px;
    color: var(--secondary-color);
}

/* ========== STATS CARDS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--bg-color);
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== DATA TABLES ========== */
.data-table {
    overflow-x: auto;
    margin-top: 20px;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
}

.data-table th {
    background: var(--bg-light);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.data-table tr:hover {
    background: var(--bg-light);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #FFF3E0;
    color: var(--warning);
}

.status-assigned {
    background: #E3F2FD;
    color: var(--info);
}

.status-in_progress {
    background: #E8EAF6;
    color: #673AB7;
}

.status-completed {
    background: #E8F5E9;
    color: var(--success);
}

.status-cancelled {
    background: #FFEBEE;
    color: var(--error);
}

.status-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Comfortaa', cursive;
    font-size: 13px;
    cursor: pointer;
}

/* ========== TABS ========== */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========== JOB CARDS ========== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.job-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.job-header h3 {
    font-size: 18px;
    color: var(--secondary-color);
}

.job-badge {
    padding: 4px 10px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.job-body {
    margin-bottom: 15px;
}

.job-body p {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.job-footer {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
    color: var(--bg-color);
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary-color);
    color: var(--bg-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ========== MAP CONTAINER ========== */
.map-container {
    margin-top: 30px;
}

#coverageMap,
#requestMap {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 20px;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 22px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* ========== DATA SECTIONS ========== */
.data-section {
    margin-top: 30px;
}

.data-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.admin-section {
    margin-bottom: 40px;
}

.admin-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========== TECHNICIAN CARDS ========== */
.technicians-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.technician-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.technician-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tech-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.tech-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6600, #CC5200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.tech-info {
    flex: 1;
}

.tech-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.tech-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.tech-rating {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tech-rating i {
    color: #FFC107;
}

.tech-body .form-group {
    margin-bottom: 15px;
}

.tech-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.specialization-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e3f2fd;
    color: #2196F3;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Comfortaa', cursive;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.tech-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* ========== MODAL STYLES ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    margin: 0;
    color: #333;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    color: #666;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ========== AVAILABILITY TOGGLE ========== */
.availability-toggle {
    display: flex;
    align-items: center;
}

.availability-toggle label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.availability-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FF6600;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px;
    }
    
    .form-wrapper {
        padding: 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .technicians-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-footer {
        flex-direction: column;
    }
    
    .tech-footer button {
        width: 100%;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .job-footer {
        flex-direction: column;
    }
    
    .job-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .dashboard-header .btn {
        width: 100%;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-info h3 {
        font-size: 28px;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .dashboard-sidebar,
    .btn,
    .footer {
        display: none;
    }
    
    .dashboard-content {
        box-shadow: none;
        padding: 0;
    }
}

/* ========== END OF STYLESHEET ========== */