/* Dashboard Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #ec4899;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #ec4899;
    font-size: 1.8rem;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.welcome {
    color: #6b7280;
    font-weight: 500;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.user-btn:hover {
    background: #fdf2f8;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #ec4899;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: #fdf2f8;
}

/* Dashboard */
.dashboard {
    padding: 2rem 0;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-section h2 {
    color: #1f2937;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #fce7f3;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Card */
.contact-info {
    text-align: center;
}

.technician {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.tech-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.tech-details h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.tech-details p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.btn-contact {
    background: #ec4899;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #db2777;
    transform: translateY(-1px);
}

/* Records Card */
.record-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fdf2f8;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.record-icon {
    font-size: 1.5rem;
}

.record-item h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.record-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

.btn-records {
    background: #ec4899;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-records:hover {
    background: #db2777;
}

/* Quick Access Section */
.quick-access-section {
    margin-bottom: 3rem;
}

.quick-access-section h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #fce7f3;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-service {
    background: #ec4899;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-service:hover {
    background: #db2777;
    transform: translateY(-1px);
}

.btn-service.emergency {
    background: #ef4444;
}

.btn-service.emergency:hover {
    background: #dc2626;
}

/* Activity Section */
.activity-section h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.activity-list {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #fce7f3;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.activity-content h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.activity-content p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .technician {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-section h2 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}