/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
}

/* Dashboard Light Theme */
body.dashboard-body {
    background: #E8EDF2;
    color: #1A1A1A;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #000000;
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #2F80ED 20%, 
        #5FA3FF 40%, 
        #2F80ED 60%, 
        transparent 100%
    );
    box-shadow: 0 0 10px #2F80ED, 0 0 20px #2F80ED, 0 0 30px rgba(47, 128, 237, 0.5);
    animation: electricFlow 6s ease-in-out infinite;
}

@keyframes electricFlow {
    0%, 100% {
        opacity: 0.6;
        filter: brightness(1);
    }
    25% {
        opacity: 1;
        filter: brightness(1.5);
    }
    50% {
        opacity: 0.7;
        filter: brightness(1.2);
    }
    75% {
        opacity: 0.9;
        filter: brightness(1.4);
    }
}

.navbar__brand a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
}

.navbar__logo {
    height: 40px;
    width: auto;
    display: block;
}

.navbar__links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.navbar__link {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.navbar__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2F80ED, #5FA3FF);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar__link:hover {
    color: #5FA3FF;
    background: rgba(47, 128, 237, 0.1);
    transform: translateY(-2px);
}

.navbar__link:hover::before {
    width: 80%;
}

.navbar__link:active {
    transform: translateY(0) scale(0.98);
    background: rgba(47, 128, 237, 0.2);
}

.navbar__link.active {
    color: #2F80ED;
    background: rgba(47, 128, 237, 0.15);
}

.navbar__link.active::before {
    width: 80%;
}

.navbar__lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.navbar__langs--mobile {
    display: none;
}

.navbar__lang {
    color: #999;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar__lang::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(47, 128, 237, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.navbar__lang:hover {
    color: #fff;
    background: linear-gradient(135deg, #2F80ED, #5FA3FF);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(47, 128, 237, 0.5);
}

.navbar__lang:hover::before {
    width: 100px;
    height: 100px;
}

.navbar__lang:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(47, 128, 237, 0.8);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar__toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
}

@media (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000000;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid #1a1a1a;
    }

    .navbar__links.open {
        display: flex;
    }
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 85vh;
    background: #000000;
    color: #fff;
    padding: 4rem 2rem;
}

.hero__content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero__video-wrapper {
    position: relative;
    max-width: 80%;
    width: 80%;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.hero__video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.hero__video-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 80px;
    background: #000000;
    border-bottom-right-radius: 8px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: #2F80ED;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero__cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #2F80ED;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.hero__cta:hover {
    background: #1a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.4);
}

/* Section styles */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffffff;
}

.section__subtitle {
    font-size: 1.2rem;
    color: #999;
    text-align: center;
    margin-bottom: 4rem;
}

/* Services/Prices */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    background: #0a0a0a;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #2F80ED 20%, 
        #5FA3FF 40%, 
        #2F80ED 60%, 
        transparent 100%
    );
    z-index: -1;
    box-shadow: 0 0 10px #2F80ED, 0 0 20px rgba(47, 128, 237, 0.5);
    animation: electricFlow 6s ease-in-out infinite;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2F80ED;
}

.service-card__description {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.service-card__price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.service-card__features {
    list-style: none;
    margin-top: 1rem;
}

.service-card__features li {
    padding: 0.5rem 0;
    color: #999;
}

.service-card__features li:before {
    content: "✓ ";
    color: #2F80ED;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* About section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member__image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: #1a1a1a;
    border: 3px solid #2F80ED;
}

.team-member__name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.team-member__role {
    color: #2F80ED;
    font-weight: 500;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-item__image {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F80ED;
    font-size: 3rem;
}

.portfolio-item__content {
    padding: 1.5rem;
}

.portfolio-item__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.portfolio-item__description {
    color: #999;
    font-size: 0.95rem;
}

.portfolio-item__tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.portfolio-item__tag {
    background: #1a1a1a;
    color: #2F80ED;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Contact form */
.contact-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #121212;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.contact-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #2F80ED 20%, 
        #5FA3FF 40%, 
        #2F80ED 60%, 
        transparent 100%
    );
    z-index: -1;
    box-shadow: 0 0 10px #2F80ED, 0 0 20px rgba(47, 128, 237, 0.5);
    animation: electricFlow 6s ease-in-out infinite;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2F80ED;
    background: #202020;
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 1rem 2.5rem;
    background: #205ba8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
}

.contact-info h3 {
    color: #2F80ED;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

/* Flash messages */
.flash-messages {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.flash {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.flash--success {
    background: rgba(47, 128, 237, 0.1);
    border-color: #2F80ED;
    color: #2F80ED;
}

.flash--error {
    background: rgba(237, 47, 47, 0.1);
    border-color: #ed2f2f;
    color: #ff6b6b;
}

.flash--info {
    background: rgba(47, 128, 237, 0.1);
    border-color: #2F80ED;
    color: #2F80ED;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    margin-top: 4rem;
    color: #999;
}

/* Dashboard Footer */
body.dashboard-body footer {
    background: #FFFFFF;
    border-top: 1px solid #D0D0D0;
    color: #666666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.modal__close:hover {
    background: #f5f5f5;
    color: #000;
}

.modal__header {
    margin-bottom: 2rem;
}

.modal__title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.modal__subtitle {
    color: #666;
    font-size: 1rem;
}

.modal__messages {
    margin-bottom: 1.5rem;
}

.modal__messages .flash {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.modal__footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.modal__footer-text {
    color: #666;
    font-size: 0.95rem;
}

/* Form styles */
.login-form {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem;
    background: #ffffff !important;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #111111 !important;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    -webkit-text-fill-color: #111111 !important;
}

.form-input:focus {
    outline: none;
    border-color: #2F80ED;
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

.form-input::placeholder {
    color: #9e9e9e;
    opacity: 1;
}

.form-group--inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.form-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #2F80ED;
}

.form-checkbox__label {
    color: #333;
    font-size: 0.9rem;
}

.form-link {
    color: #2F80ED;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.form-link:hover {
    color: #1a6fd8;
    text-decoration: underline;
}

.form-link--bold {
    font-weight: 600;
}

.btn--primary {
    background: #2F80ED;
    color: #fff;
}

.btn--primary:hover {
    background: #1a6fd8;
}

.btn--block {
    width: 100%;
    margin-top: 0.5rem;
}

/* Login button in navbar */
.navbar__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.navbar__login-btn {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #2F80ED, #1a6fd8);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(47, 128, 237, 0.3);
}

.navbar__login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.navbar__login-btn:hover {
    background: linear-gradient(135deg, #5FA3FF, #2F80ED);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(47, 128, 237, 0.5), 0 0 20px rgba(95, 163, 255, 0.3);
}

.navbar__login-btn:hover::before {
    left: 100%;
}

.navbar__login-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(47, 128, 237, 0.6);
    background: linear-gradient(135deg, #1a6fd8, #2F80ED);
}

/* Dashboard Navbar Styles */
.navbar__dashboard-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: 2rem;
}

.navbar__user-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar__user-badge--admin {
    background-color: #2F80ED;
    color: #FFFFFF;
}

.navbar__user-badge--user {
    background-color: #27AE60;
    color: #FFFFFF;
}

.navbar__user-email {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 500;
}

.navbar__logout-btn {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.navbar__logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.navbar__logout-btn:hover {
    background: linear-gradient(135deg, #FF6B5B, #E74C3C);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5), 0 0 20px rgba(255, 107, 91, 0.3);
}

.navbar__logout-btn:hover::before {
    left: 100%;
}

.navbar__logout-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #C0392B, #E74C3C);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Cursor Light Ray Effect */
.cursor-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.cursor-ray {
    position: fixed;
    pointer-events: none;
    opacity: var(--ray-opacity, 0.8);
    transform-origin: left center;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        rgba(47, 128, 237, 0) 0%,
        rgba(95, 163, 255, 0.9) 20%,
        rgba(47, 128, 237, 1) 50%,
        rgba(95, 163, 255, 0.9) 80%,
        rgba(47, 128, 237, 0) 100%
    );
    box-shadow: 
        0 0 10px rgba(47, 128, 237, 0.8),
        0 0 20px rgba(95, 163, 255, 0.6),
        0 0 30px rgba(47, 128, 237, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    filter: blur(0.5px);
}

/* Hide cursor effect when login modal is open */
#loginModal.active ~ .cursor-trail-container {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__video-wrapper {
        max-width: 95%;
        width: 95%;
        margin-bottom: 2rem;
    }

    .hero__video-overlay {
        width: 80px;
        height: 60px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .modal__content {
        padding: 2rem 1.5rem;
    }

    .modal__title {
        font-size: 1.75rem;
    }

    .form-group--inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Hide public navbar actions on mobile */
    .navbar__actions {
        display: none;
    }

    /* Show mobile language switcher in menu */
    .navbar__langs--mobile {
        display: block;
        padding: 0.5rem 0;
        border-top: 1px solid #1a1a1a;
        margin-top: 0.5rem;
    }

    .navbar__langs--mobile .navbar__lang-switcher {
        justify-content: center;
        gap: 1rem;
    }

    .navbar__langs--mobile .navbar__lang {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    /* Show dashboard navbar items on mobile */
    .navbar__dashboard-info {
        display: flex;
        flex: 1;
        justify-content: flex-end;
        margin-right: 0.75rem;
        margin-left: 1rem;
        gap: 0.5rem;
    }

    .navbar__user-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .navbar__user-email {
        font-size: 0.8rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar__actions:has(.navbar__logout-btn) {
        display: flex;
    }

    .navbar__logout-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .navbar__links.open .navbar__login-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */

.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #F5F7FA;
    min-height: calc(100vh - 200px);
}

.admin-dashboard .section__title {
    color: #1A1A1A;
}

.admin-dashboard__header {
    margin-bottom: 2rem;
}

.admin-dashboard__badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.admin-dashboard__badge--admin {
    background-color: #2F80ED;
    color: #FFFFFF;
}

.admin-dashboard__badge--user {
    background-color: #27AE60;
    color: #FFFFFF;
}

/* Admin Dashboard Container */
.admin-dashboard__container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Admin Sidebar */
.admin-sidebar {
    position: sticky;
    top: 2rem;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-sidebar__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    color: #666666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.admin-sidebar__item:hover {
    background-color: #F5F7FA;
    color: #1A1A1A;
}

.admin-sidebar__item--active {
    background-color: #E8F4FD;
    color: #2F80ED;
    border-left-color: #2F80ED;
}

.admin-sidebar__icon {
    flex-shrink: 0;
}

.admin-sidebar__text {
    flex: 1;
}

/* Main Content Area */
.admin-dashboard__main {
    min-width: 0;
}

/* Tab Content */
.admin-tab-content {
    display: none;
}

.admin-tab-content--active {
    display: block;
}

.admin-section__title {
    font-size: 1.5rem;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
}

/* Repairs Table */
.repairs-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.repairs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.repairs-table__header {
    background-color: #F5F7FA;
}

.repairs-table__header th {
    padding: 1rem;
    text-align: left;
    color: #1A1A1A;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-bottom: 2px solid #2F80ED;
}

.repairs-table__row {
    border-bottom: 1px solid #E8EEF4;
    transition: background-color 0.2s ease;
}

.repairs-table__row:hover {
    background-color: #F9FAFB;
}

.repairs-table__cell {
    padding: 1rem;
    color: #333333;
}

.repairs-table__cell--truncate {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge--pending {
    background-color: #666666;
    color: #FFFFFF;
}

.status-badge--diagnosed {
    background-color: #9B59B6;
    color: #FFFFFF;
}

.status-badge--in_progress {
    background-color: #F39C12;
    color: #FFFFFF;
}

.status-badge--waiting_for_parts {
    background-color: #E67E22;
    color: #FFFFFF;
}

.status-badge--completed {
    background-color: #27AE60;
    color: #FFFFFF;
}

.status-badge--cancelled {
    background-color: #E74C3C;
    color: #FFFFFF;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination__info {
    color: #555555;
    font-size: 0.875rem;
}

.pagination__controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination__button,
.pagination__number {
    padding: 0.5rem 1rem;
    background-color: #F5F7FA;
    color: #333333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid #E0E0E0;
}

.pagination__button:hover,
.pagination__number:hover {
    background-color: #2F80ED;
    color: #FFFFFF;
    border-color: #2F80ED;
}

.pagination__button--disabled {
    background-color: #FAFAFA;
    color: #AAAAAA;
    cursor: not-allowed;
    border-color: #E8E8E8;
}

.pagination__number--active {
    background-color: #2F80ED;
    color: #FFFFFF;
    border-color: #2F80ED;
}

.pagination__ellipsis {
    color: #999999;
    padding: 0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #F9FAFB;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
}

.empty-state__message {
    color: #666666;
    font-size: 1.125rem;
}

/* Account Sections */
.account-sections {
    display: grid;
    gap: 2rem;
}

.account-section {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.account-section__title {
    font-size: 1.25rem;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E0E0E0;
}

.account-form {
    display: grid;
    gap: 1.5rem;
}

/* Admin Dashboard Form Inputs */
.admin-dashboard input,
.admin-dashboard textarea,
.admin-dashboard select,
body.dashboard-body .modal input,
body.dashboard-body .modal textarea,
body.dashboard-body .modal select {
    background-color: #FFFFFF;
    border: 1px solid #D0D0D0;
    color: #1A1A1A;
}

.admin-dashboard input:focus,
.admin-dashboard textarea:focus,
.admin-dashboard select:focus,
body.dashboard-body .modal input:focus,
body.dashboard-body .modal textarea:focus,
body.dashboard-body .modal select:focus {
    border-color: #2F80ED;
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1);
    background-color: #FFFFFF;
}

.admin-dashboard input[readonly],
.admin-dashboard textarea[readonly],
body.dashboard-body .modal input[readonly],
body.dashboard-body .modal textarea[readonly] {
    background-color: #F5F7FA;
    color: #666666;
    cursor: not-allowed;
}

.admin-dashboard label,
body.dashboard-body .modal label {
    color: #333333;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    color: #666666;
    font-size: 0.875rem;
}

.account-info {
    display: grid;
    gap: 1rem;
}

.account-info__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #F5F7FA;
    border-radius: 4px;
    border: 1px solid #E8EEF4;
}

.account-info__label {
    color: #666666;
    font-weight: 500;
}

.account-info__value {
    color: #1A1A1A;
}

/* Repair Detail Modal */
.modal__content--large {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.repair-detail {
    display: grid;
    gap: 2rem;
}

.repair-detail__section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E0E0E0;
}

.repair-detail__section:last-child {
    border-bottom: none;
}

.repair-detail__section h4 {
    color: #1A1A1A;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.repair-detail__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.repair-detail__label {
    color: #666666;
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* Repair Messages */
.repair-messages {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #F9FAFB;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.repair-message {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #FFFFFF;
    border-left: 3px solid #2F80ED;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.repair-message__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.repair-message__author {
    color: #2F80ED;
    font-weight: 600;
    font-size: 0.875rem;
}

.repair-message__timestamp {
    color: #999999;
    font-size: 0.75rem;
}

.repair-message__text {
    color: #333333;
    line-height: 1.5;
}

.repair-message--internal {
    border-left-color: #F39C12;
    background-color: #FFF8E1;
}

.message-form {
    display: grid;
    gap: 1rem;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--secondary {
    background-color: #F5F7FA;
    color: #333333;
    border: 1px solid #E0E0E0;
}

.btn--secondary:hover {
    background-color: #2F80ED;
    color: #FFFFFF;
    border-color: #2F80ED;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-dashboard__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
    }

    .admin-sidebar__nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0;
    }

    .admin-sidebar__item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        white-space: nowrap;
        min-width: 100px;
        justify-content: center;
        align-items: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .admin-sidebar__item--active {
        border-left: none;
        border-bottom-color: #2F80ED;
    }

    .admin-sidebar__text {
        font-size: 0.875rem;
    }

    .repairs-table {
        font-size: 0.875rem;
    }

    .repairs-table__header th,
    .repairs-table__cell {
        padding: 0.75rem 0.5rem;
    }

    .repairs-table__cell--truncate {
        max-width: 150px;
    }

    .pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination__controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .repair-detail__grid {
        grid-template-columns: 1fr;
    }

    .repair-detail__row {
        grid-template-columns: 1fr;
    }

    .modal__content--large {
        width: 95%;
    }
}

/* Hero Text Content (below video) */
.hero__text-content {
    text-align: center;
    width: 100%;
    padding: 1rem 2rem 0;
    margin-top: 0.5rem;
}

.hero__text-content .hero__title {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero__text-content .hero__subtitle {
    color: #5FA3FF;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* Footer Sections */
.footer__content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 2rem 0;
}

.footer__section {
    flex: 1;
    min-width: 250px;
}

.footer__title {
    color: #2F80ED;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer__links,
.footer__contact {
    list-style: none;
    padding: 0;
}

.footer__links li,
.footer__contact li {
    margin-bottom: 0.75rem;
}

.footer__links a,
.footer__contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: #5FA3FF;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
}

body.dashboard-body .footer__bottom {
    border-top-color: #D0D0D0;
}

/* Service Card CTA */
.service-card__cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2F80ED, #5FA3FF);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(47, 128, 237, 0.3);
}

.service-card__cta:hover {
    background: linear-gradient(135deg, #5FA3FF, #2F80ED);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(47, 128, 237, 0.5);
}

.service-card__cta:active {
    transform: translateY(0);
}

/* Modal Info Text */
.modal__info-text {
    margin-top: 1rem;
    color: #999;
    font-size: 0.85rem;
    text-align: center;
    font-style: italic;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .hero__text-content {
        padding: 2rem 1rem 0;
        margin-top: 1rem;
    }
    
    .hero__text-content .hero__title {
        font-size: 2rem;
    }
    
    .hero__text-content .hero__subtitle {
        font-size: 1rem;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer__section {
        text-align: center;
    }
}
