/* ForgeLink - Professional Manufacturing Platform */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-black: #000000;
    --primary-yellow: #f0ff00;
    --dark-gray: #1a1a1a;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--primary-black);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Header */
header {
    background: var(--primary-black);
    color: var(--white);
    padding: 0;
    border-bottom: 3px solid var(--primary-yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

header h1 span {
    color: var(--primary-yellow);
}

/* Header Left - Logo + Enterprise button side by side */
.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header-left .btn-enterprise {
    background: var(--white);
    color: var(--primary-black);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
}

.header-left .btn-enterprise:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--primary-yellow);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Responsive Header */
@media (max-width: 968px) {
    /* Hide Enterprise button on mobile */
    .header-left .btn-enterprise {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide nav by default on mobile */
    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-black);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 1.5rem 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    /* Show nav when active */
    header nav.active {
        right: 0;
    }

    /* Adjust nav links for mobile */
    header nav a {
        width: 100%;
        padding: 0.75rem 1rem;
        margin-bottom: 0.25rem;
        border-left: 3px solid transparent;
        border-radius: 0;
    }

    header nav a:hover {
        border-left-color: var(--primary-yellow);
        background: rgba(240, 255, 0, 0.1);
    }

    /* Contact button on mobile */
    header nav .btn-contact {
        margin-top: 1rem;
        border-radius: 6px;
        border-left: none;
        text-align: center;
        width: 100%;
    }
}

nav {
    display: flex;
    gap: 0;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

.user-info {
    background: rgba(255, 230, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 230, 0, 0.3);
}

/* Wallet Brief (Header) */
.user-wallet-brief {
    background: var(--dark-gray);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--primary-yellow);
    font-size: 0.85rem;
}

.wallet-balance strong {
    color: var(--primary-yellow);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-weight: 500;
    border-left: 4px solid;
}

.alert.success {
    background: #ecfdf5;
    color: #065f46;
    border-color: var(--success);
}

.alert.error {
    background: #fef2f2;
    color: #991b1b;
    border-color: var(--error);
}

/* Home Page Specific Styles */
.hero-home {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23FFE600" opacity="0.1" width="1200" height="600"/></svg>');
    color: var(--white);
    padding: 6rem 2rem;
    margin: -3rem -2rem 0 -2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem 0;
}

.service-block-reverse {
    direction: rtl;
}

.service-block-reverse > * {
    direction: ltr;
}

.service-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-intro {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
}

.service-features li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--primary-black);
    font-size: 1.05rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 8px;
    height: 8px;
    background: var(--primary-yellow);
    border-radius: 50%;
}

.service-visual {
    position: relative;
}

.visual-placeholder {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 100%);
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.placeholder-content p {
    color: var(--medium-gray);
    font-size: 1rem;
}

/* Technologies Section */
.technologies-section {
    background: var(--light-gray);
    padding: 5rem 2rem;
    margin: 3rem -2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--medium-gray);
}

.tech-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.tech-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.tech-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Final CTA */
.cta-final {
    background: var(--primary-black);
    color: var(--white);
    padding: 5rem 2rem;
    margin: 4rem -2rem -3rem -2rem;
    text-align: center;
}

.cta-final-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

/* Responsive - Home Page */
@media (max-width: 1024px) {
    .service-block,
    .service-block-reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        direction: ltr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 4rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .services-section {
        padding: 3rem 0;
    }
    
    .service-block {
        margin-bottom: 3rem;
    }
    
    .service-content h2 {
        font-size: 1.75rem;
    }
    
    .tech-grid-home {
        grid-template-columns: 1fr;
    }
    
    .cta-final h2 {
        font-size: 1.875rem;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(255,230,0,0.05) 100%);
    margin: -3rem -2rem 3rem -2rem;
    padding: 4rem 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-black);
}

.lead {
    font-size: 1.25rem;
    color: var(--medium-gray);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-weight: 600;
}

.feature-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-gray);
}

.feature-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 50%;
}

/* Enhanced Auth Pages (Login/Register) */
.auth-split-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    margin: -3rem -2rem;
}

.auth-left-panel {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-left-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,230,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.auth-branding {
    position: relative;
    z-index: 1;
}

.auth-branding h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.auth-benefits {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-benefits h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--white);
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,230,0,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-yellow);
}

.benefit-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.benefit-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.auth-footer-text {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.auth-footer-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.auth-right-panel {
    background: var(--white);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
}

.auth-form-header {
    margin-bottom: 3rem;
}

.auth-form-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.auth-form-header p {
    font-size: 1.05rem;
    color: var(--medium-gray);
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group-modern {
    margin-bottom: 1.75rem;
}

.form-group-modern label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.form-group-modern input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group-modern input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.1);
}

.form-group-modern input::placeholder {
    color: #999;
}

.field-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.role-option {
    cursor: pointer;
}

.role-option input[type="radio"] {
    display: none;
}

.role-card {
    padding: 1.5rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--white);
    text-align: center;
}

.role-option input[type="radio"]:checked + .role-card {
    border-color: var(--primary-yellow);
    background: rgba(255, 230, 0, 0.05);
}

.role-card:hover {
    border-color: var(--primary-yellow);
}

.role-icon {
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.role-option input[type="radio"]:checked + .role-card .role-icon {
    color: var(--primary-black);
}

.role-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.role-info p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    line-height: 1.4;
}

.btn-full {
    width: 100%;
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-gray);
}

.form-divider span {
    position: relative;
    background: var(--white);
    padding: 0 1rem;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.auth-switch {
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--primary-black);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-terms {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.auth-terms p {
    font-size: 0.825rem;
    color: var(--medium-gray);
    line-height: 1.5;
    text-align: center;
}

/* Provider Qualification Fields */
.provider-qualification-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    border-color: var(--primary-yellow);
}

.checkbox-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-yellow);
}

.checkbox-option input[type="checkbox"]:checked + span {
    font-weight: 600;
}

.checkbox-option span {
    font-size: 0.9rem;
    color: var(--primary-black);
    user-select: none;
}

.checkbox-option input[type="checkbox"]:checked {
    background: var(--primary-yellow);
}

/* Checkbox Responsive */
@media (max-width: 640px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Auth Responsive */
@media (max-width: 1024px) {
    .auth-split-layout {
        grid-template-columns: 1fr;
    }
    
    .auth-left-panel {
        display: none;
    }
    
    .auth-right-panel {
        padding: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .auth-right-panel {
        padding: 2rem 1.5rem;
    }
    
    .auth-form-header h2 {
        font-size: 1.875rem;
    }
    
    .role-selector {
        grid-template-columns: 1fr;
    }
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.form-container h2 {
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: #f5dc00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 230, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--dark-gray);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: var(--primary-black);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.btn-small:hover {
    background: var(--dark-gray);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Tables */
.files-table, .admin-table {
    width: 100%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

.files-table thead, .admin-table thead {
    background: var(--primary-black);
    color: var(--white);
}

.files-table th,
.files-table td,
.admin-table th,
.admin-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.95rem;
}

.files-table th, .admin-table th {
    font-weight: 600;
}

.files-table tbody tr,
.admin-table tbody tr {
    border-bottom: 1px solid var(--border-gray);
}

.files-table tbody tr:hover,
.admin-table tbody tr:hover {
    background: var(--light-gray);
}

.admin-table tbody tr.row-suspended {
    background: #fef2f2;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-small {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.badge-manufacturer {
    background: #dbeafe;
    color: #1e40af;
}

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

.badge-status-active {
    background: #dcfce7;
    color: #166534;
}

.badge-status-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.badge-status-pending {
    background: #fef3c7;
    color: #92400e;
}

/* Info Box */
.info-box,
.cta-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    margin: 2rem 0;
}

.info-box h3, .cta-box h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    margin-top: 1rem;
}

.info-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 50%;
}

/* Enhanced Marketplace Styles */
.marketplace-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    margin: -3rem -2rem 3rem -2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-yellow);
}

.marketplace-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.marketplace-hero-content .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.marketplace-cta-enhanced {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.cta-benefit {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.cta-benefit:hover .benefit-icon {
    background: var(--primary-yellow);
    transform: scale(1.05);
}

.cta-benefit h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-benefit p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.cta-action-box {
    background: var(--white);
    border: 2px solid var(--primary-yellow);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.cta-action-box h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-action-box p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.capabilities-preview {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.capabilities-preview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.capability-tag {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-black);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.capability-tag:hover {
    border-color: var(--primary-yellow);
    background: var(--primary-yellow);
}

/* Marketplace Toolbar */
.marketplace-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.provider-count-badge {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1.05rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    cursor: pointer;
    color: var(--medium-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

.view-btn.active {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* Enhanced Provider Cards */
.provider-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.provider-grid-enhanced.provider-list-view {
    grid-template-columns: 1fr;
}

.provider-card-enhanced {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.provider-card-enhanced:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.provider-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 100%);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.provider-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--primary-black);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.provider-header-info {
    flex: 1;
}

.provider-header-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.provider-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-meta {
    margin-top: 0.75rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.meta-item svg {
    opacity: 0.7;
}

.provider-card-body {
    padding: 2rem;
    flex: 1;
}

.provider-section {
    margin-bottom: 2rem;
}

.provider-section:last-child {
    margin-bottom: 0;
}

.provider-section h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.capability-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--medium-gray);
}

.capability-item svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--primary-yellow);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.85rem;
    background: var(--light-gray);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-black);
    border: 1px solid var(--border-gray);
}

.provider-card-footer {
    padding: 1.5rem 2rem;
    background: var(--light-gray);
    border-top: 1px solid var(--border-gray);
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Provider CTA Section */
.provider-cta-section {
    background: var(--primary-black);
    padding: 4rem 2rem;
    margin: 4rem -2rem -3rem -2rem;
    text-align: center;
    color: var(--white);
}

.provider-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.provider-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.provider-cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

.provider-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.provider-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 500;
}

.provider-benefit-item svg {
    color: var(--primary-yellow);
}

/* Marketplace Responsive */
@media (max-width: 1024px) {
    .provider-grid-enhanced {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .marketplace-hero-content h1 {
        font-size: 2rem;
    }
    
    .marketplace-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .provider-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .provider-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .provider-benefits {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .capability-tags {
        gap: 0.75rem;
    }
}

/* Provider Grid */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.provider-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.provider-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.provider-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.provider-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-black);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.provider-info {
    margin: 1rem 0;
}

.provider-info p {
    margin: 0.75rem 0;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.provider-capabilities {
    margin: 1.5rem 0;
}

.provider-capabilities h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.provider-capabilities ul {
    list-style: none;
    margin-top: 0.5rem;
}

.provider-capabilities li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.provider-capabilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 50%;
}

.provider-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

/* Marketplace CTA */
.marketplace-cta {
    background: var(--white);
    border-radius: 8px;
    padding: 4rem 3rem;
    border: 1px solid var(--border-gray);
    margin: 2rem 0;
}

.cta-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-gray);
}

.cta-hero h3 {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 1.05rem;
}

.feature-item p {
    margin: 0;
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-actions {
    text-align: center;
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.cta-text {
    margin-top: 1.5rem;
    color: var(--medium-gray);
    font-size: 1rem;
}

.cta-text a {
    color: var(--primary-black);
    font-weight: 600;
    text-decoration: underline;
}

.cta-info {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.cta-info h4 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-info ul {
    list-style: none;
    padding: 0;
}

.cta-info li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    padding-left: 1.5rem;
    position: relative;
}

.cta-info li:last-child {
    border-bottom: none;
}

.cta-info li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.5rem;
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    border-radius: 50%;
}

.cta-info strong {
    color: var(--primary-black);
    font-weight: 600;
}

.marketplace-header {
    margin-bottom: 2rem;
}

.provider-count {
    color: var(--medium-gray);
    font-size: 1rem;
    font-weight: 500;
}

.provider-cta-box {
    background: var(--primary-black);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 4rem;
}

.provider-cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.provider-cta-box p {
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

/* Profile */
.profile-container {
    display: grid;
    gap: 2rem;
}

.profile-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-black);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.label {
    font-weight: 500;
    color: var(--medium-gray);
}

.value {
    font-weight: 500;
    color: var(--primary-black);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.stat-card h4 {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-black);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary-yellow);
    background: var(--white);
}

/* Info Section */
.info-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    margin: 3rem 0;
}

.info-section h3 {
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Admin Styles */
.admin-header {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-gray);
}

.admin-header h2 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.admin-header p {
    color: var(--medium-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.stat-card.stat-warning {
    border-color: var(--warning);
}

.stat-icon {
    font-size: 2rem;
}

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

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

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.admin-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.admin-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    font-weight: 600;
}

.user-list, .activity-list {
    margin-bottom: 1.5rem;
    max-height: 450px;
    overflow-y: auto;
}

.user-item, .activity-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-gray);
}

.user-item:last-child, .activity-item:last-child {
    border-bottom: none;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-black);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filters-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-gray);
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 220px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.users-count {
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.admin-table-container {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

.actions-cell {
    white-space: nowrap;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: scale(1.15);
}

.btn-danger {
    color: var(--error);
}

.quick-actions {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.edit-user-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.user-profile-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    text-align: center;
}

.user-stats {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.5rem;
    color: var(--primary-black);
    font-weight: 700;
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.edit-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.user-files-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.activity-log-container {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-gray);
}

.activity-log-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.activity-log-item:last-child {
    border-bottom: none;
}

.log-content {
    flex: 1;
}

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

.log-time {
    color: var(--medium-gray);
    font-size: 0.875rem;
    font-weight: 500;
}

.log-details {
    margin: 0.5rem 0;
    color: var(--medium-gray);
    font-style: italic;
}

.log-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* Footer */
footer {
    background: #d7d7d7;
    color: #0b1a33;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1a33;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0b1a33;
}

.footer-about p {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-newsletter p {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-form {
    margin-bottom: 0.75rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    background: rgba(255,255,255,0.6);
    color: #0b1a33;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input-group input::placeholder {
    color: #9ca3af;
}

.newsletter-input-group input:focus {
    outline: none;
    background: rgba(255,255,255,0.85);
    border-color: var(--primary-yellow);
}

.newsletter-input-group button {
    padding: 0.875rem 1.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 600;
}

.newsletter-note {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #b8b8b8;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group button {
        width: 100%;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--medium-gray);
}

/* Responsive */
@media (max-width: 1200px) {
    .edit-user-container {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        flex-direction: column;
        width: 100%;
    }
    
    nav a {
        width: 100%;
        text-align: center;
    }
    
    .user-info {
        width: 100%;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .features,
    .provider-grid,
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .marketplace-cta {
        padding: 2rem;
    }
    
    .cta-hero h3 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Marketplace & Provider Cards
   ========================================================================== */

.marketplace-hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    margin: -3rem -2rem 3rem -2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-yellow);
}

.provider-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.provider-card-enhanced {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.provider-card-enhanced:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Locked State Logic */
.provider-locked .provider-card-body {
    position: relative;
    min-height: 200px;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--locked-bg);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.locked-overlay p {
    font-weight: 600;
    color: var(--medium-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.provider-unlocked {
    border: 2px solid var(--success) !important;
}

/* Card Header & Avatar */
.provider-card-header {
    padding: 2rem;
    background: var(--light-gray);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.provider-avatar-large {
    width: 70px;
    height: 70px;
    background: var(--primary-black);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1.5rem;
}

/* ==========================================================================
   Technical Briefing & Reputation UI
   ========================================================================== */

.scorecard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.score-item {
    background: var(--light-gray);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--primary-yellow);
}

.score-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.score-label {
    font-size: 0.7rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    font-weight: 600;
}

/* Technical Audit Form */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 3rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
}

input[type="range"] {
    width: 100%;
    margin: 15px 0;
    accent-color: var(--primary-yellow);
}

output {
    background: var(--primary-black);
    color: var(--primary-yellow);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 10px;
}

/* ==========================================================================
   Buttons & Utilities
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.btn-primary { background: var(--primary-yellow); color: var(--primary-black); }
.btn-primary:hover { background: #f5dc00; transform: translateY(-2px); }
.btn-secondary { background: var(--primary-black); color: var(--white); }
.btn-block { width: 100%; display: block; }

.badge {
    padding: 0.35rem 0.75rem;
    background: var(--primary-yellow);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.alert.success { background: #ecfdf5; color: #065f46; border-color: var(--success); }
.alert.error { background: #fef2f2; color: #991b1b; border-color: var(--error); }
.alert.info { background: #eff6ff; color: #1e40af; border-color: #3b82f6; }
.alert.warning { background: #fffbeb; color: #92400e; border-color: var(--warning); }

/* ==========================================================================
   MVP Enhancement Styles - Email Verification, Payments, Admin Features
   ========================================================================== */

/* Email Verification Badges */
.badge-verified {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-unverified {
    background: var(--warning);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Payment Processing States */
.payment-processing {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin: 2rem 0;
}

.payment-processing .spinner {
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-yellow);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Starter Funds Button Enhancement */
.btn-icon[title*="Starter Funds"]:hover,
.btn-icon[title*="Grant Starter Funds"]:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 230, 0, 0.6));
}

/* Credit Package Cards Enhancement */
.tech-card form {
    margin-top: 1rem;
}

.tech-card .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* Wallet Transaction History */
.admin-table td[title] {
    cursor: help;
    position: relative;
}

/* User Balance Display */
.user-balance-highlight {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f5dc00 100%);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 230, 0, 0.3);
}

/* Admin Action Buttons Spacing */
.actions-cell form {
    display: inline-block;
    margin: 0 0.15rem;
}

.actions-cell {
    white-space: nowrap;
    padding: 0.75rem !important;
}

/* Status Indicator Enhancements */
.badge-status-verified {
    background: var(--success);
    color: white;
}

.badge-status-unverified {
    background: #fbbf24;
    color: var(--primary-black);
}

/* Rate Limit Warning */
.rate-limit-warning {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* CSRF Token Hidden Fields (ensure they're truly hidden) */
input[name="csrf_token"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Stripe Checkout Button */
.stripe-checkout-btn {
    background: #635bff;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.stripe-checkout-btn:hover {
    background: #5144e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.4);
}

/* Info Box Enhancement */
.info-box {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    border-left: 4px solid #3b82f6;
    padding: 1.25rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.info-box h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.info-box ul {
    margin: 0.5rem 0 0 1.5rem;
    color: #1e3a8a;
}

.info-box ul li {
    margin: 0.5rem 0;
}

/* Loading State for Forms */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Footer */
footer {
    background: #d7d7d7;
    color: #0b1a33;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-yellow);
}
/* ==========================================================================
   Enhanced Marketplace Filtering & Quality Tiers
   ========================================================================== */

/* Marketplace Filter Section */
.marketplace-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-form-horizontal {
    width: 100%;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input[type="text"],
.filter-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.filter-group input[type="text"]:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.filter-actions .btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

/* Quality Tier Badges */
.provider-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.provider-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-badge.tier-expert {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.provider-badge.tier-verified {
    background: #10b981;
    color: white;
}

.provider-badge.tier-standard {
    background: #6b7280;
    color: white;
}

.rating-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

/* Provider Card Enhancements */
.provider-card-enhanced .provider-header-info h3 {
    margin-bottom: 0.25rem;
}

/* Responsive Filters */
@media (max-width: 1200px) {
    .filter-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-actions {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        grid-column: span 1;
        flex-direction: column;
        width: 100%;
    }

    .filter-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Provider Dashboard Styles
   ========================================================================== */

.provider-dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.provider-profile-summary {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.provider-avatar-xlarge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50%;
    font-size: 2rem;
    flex-shrink: 0;
}

.provider-info h1 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
}

.provider-location {
    margin: 0.5rem 0;
    color: var(--medium-gray);
}

.quick-actions {
    display: flex;
    gap: 1rem;
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

.stat-sublabel {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.dashboard-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dashboard-section h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.score-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    transition: width 0.3s ease;
}

.connections-table-container {
    overflow-x: auto;
}

.connections-table {
    width: 100%;
    border-collapse: collapse;
}

.connections-table thead {
    background: #f9fafb;
}

.connections-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.connections-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.connections-table tbody tr:hover {
    background: #f9fafb;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-scores {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.score-pill {
    background: white;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid #e5e7eb;
}

.review-feedback {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-left: 3px solid var(--primary-yellow);
    border-radius: 4px;
}

.review-feedback p {
    margin: 0;
    font-style: italic;
    color: #374151;
}

.text-muted {
    color: #6b7280;
    font-size: 0.9rem;
}

.badge-status-active {
    background: var(--success);
    color: white;
}

.badge-status-pending {
    background: #f3f4f6;
    color: #6b7280;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .quick-actions {
        width: 100%;
        flex-direction: column;
    }

    .quick-actions .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .connections-table {
        font-size: 0.85rem;
    }

    .connections-table th,
    .connections-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ==========================================================================
   Provider Machine Management Styles
   ========================================================================== */

.machine-management {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0 0 0.5rem 0;
}

.page-header p {
    color: var(--medium-gray);
    margin: 0;
}

.machine-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
}

.stat-box.stat-active {
    border-left-color: var(--success);
}

.stat-box.stat-maintenance {
    border-left-color: var(--warning);
}

.stat-box.stat-offline {
    border-left-color: var(--error);
}

.stat-box.stat-total {
    border-left-color: var(--primary-yellow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

.add-machine-section,
.machines-list-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.add-machine-section h2,
.machines-list-section h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.machine-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.machine-form .form-group.full-width {
    grid-column: span 2;
}

.machine-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}

.machine-form input[type="text"],
.machine-form input[type="number"],
.machine-form select,
.machine-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.machine-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
    transition: transform 0.2s, box-shadow 0.2s;
}

.machine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.machine-card.machine-status-active {
    border-left: 4px solid var(--success);
}

.machine-card.machine-status-maintenance {
    border-left: 4px solid var(--warning);
}

.machine-card.machine-status-offline {
    border-left: 4px solid var(--error);
    opacity: 0.7;
}

.machine-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.machine-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.machine-tech {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

.machine-status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.machine-status-badge.status-active {
    background: var(--success);
    color: white;
}

.machine-status-badge.status-maintenance {
    background: var(--warning);
    color: white;
}

.machine-status-badge.status-offline {
    background: var(--error);
    color: white;
}

.machine-details {
    margin-bottom: 1rem;
}

.machine-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #374151;
}

.machine-details strong {
    color: var(--medium-gray);
}

.machine-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.status-select {
    padding: 0.5rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .machine-form .form-grid {
        grid-template-columns: 1fr;
    }

    .machine-form .form-group.full-width {
        grid-column: span 1;
    }

    .machines-grid {
        grid-template-columns: 1fr;
    }
}
