/* CSS Variables */
:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-card: #212121;
    --text-primary: #fff;
    --text-secondary: #c4c4c4;
    --text-muted: #888;
    --border-color: #333;
    --accent: #ff931c;
    --accent-secondary: #420069;
    --accent-subtle: rgba(255, 147, 28, 0.15);
    --accent-secondary-subtle: rgba(66, 0, 105, 0.15);
    --danger: #e74c3c;
    --success: #00b894;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    background-color: #121212;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: transparent;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 30px;
    background: #212121;
    border: 4px solid #000000;
    border-radius: 20px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 20px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.header:hover::before {
    background: rgba(255, 147, 28, 0.03);
}

.header:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 6px 6px 0px 0px rgba(196, 196, 196, 1);
}

.header > * {
    position: relative;
    z-index: 1;
}

.success-badge {
    display: inline-block;
    background: #ff931c;
    color: #212121;
    padding: 8px 20px;
    border: 4px solid #000000;
    border-radius: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

h1 {
    color: #c4c4c4;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
}

/* Form Container Styles */
.brand-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.brand-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 147, 28, 0.3));
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 20px rgba(255, 147, 28, 0.5));
    transform: scale(1.05);
}

.upload-card {
    background: #212121;
    border: 4px solid #000000;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 650px;
    margin: 0 auto;
}

.upload-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 20px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.upload-card:hover::before {
    background: rgba(255, 147, 28, 0.02);
}

.upload-card:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 8px 8px 0px 0px rgba(196, 196, 196, 1);
}

.upload-card > * {
    position: relative;
    z-index: 1;
}

.page-title {
    color: #c4c4c4;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Form Elements */
.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    color: #b0b0b0;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

input[type="file"],
select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #000000;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="file"]:focus,
select:focus {
    outline: none;
    border-color: #ff931c;
    box-shadow: 0 0 0 2px rgba(255, 147, 28, 0.2);
}

input[type="file"]::file-selector-button {
    background: #ff931c;
    color: #212121;
    border: 3px solid #000;
    padding: 10px 20px;
    border-radius: 42px;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

input[type="file"]::file-selector-button:hover {
    background: #ffaa4c;
}

select {
    cursor: pointer;
}

select option {
    background: #2d3436;
    color: #ffffff;
}

/* Global placeholder styling - 50% transparency */
input::placeholder,
textarea::placeholder {
    opacity: 0.5;
}

.submit-btn {
    width: 100%;
    background: #ff931c;
    color: #212121;
    border: 4px solid #000000;
    padding: 16px 20px;
    border-radius: 42px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    background: #ffaa4c;
}

.submit-btn:active {
    transform: translate(0, 0);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.form-hint {
    color: #888;
    font-size: 0.85rem;
    margin-top: 8px;
    font-style: italic;
}

.file-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

/* Warning Banner */
.warning-banner {
    background: #212121;
    border: 4px solid #000000;
    border-radius: 42px;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 1);
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.warning-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 42px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.warning-banner:hover::before {
    background: rgba(255, 147, 28, 0.02);
}

.warning-banner:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 8px 8px 0px 0px rgba(196, 196, 196, 1);
}

.warning-banner > * {
    position: relative;
    z-index: 1;
}

.warning-text {
    color: #ff931c;
    font-weight: 500;
}

/* Card Styles */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.card {
    background: #212121;
    border: 4px solid #000000;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 20px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.card:hover::before {
    background: rgba(255, 147, 28, 0.02);
}

.card:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 6px 6px 0px 0px rgba(196, 196, 196, 1);
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    margin: -25px -25px 20px -25px;
    background: #1a1a1a;
    border-radius: 16px 16px 0 0;
    border-bottom: 2px solid #333;
}

.card-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    opacity: 0.8;
    color: #212121;
}

.card-title {
    color: #212121;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(196, 196, 196, 0.2);
}

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

.info-label {
    color: #b0b0b0;
    font-weight: 500;
    flex: 1;
    margin-right: 15px;
}

.info-value {
    color: #c4c4c4;
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

.highlight {
    color: #ff931c;
    font-size: 1.1em;
}

.price-card {
    background: #212121;
    border: 4px solid #000000;
    border-radius: 20px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.price-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 20px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.price-card:hover::before {
    background: rgba(255, 147, 28, 0.02);
}

.price-card:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 6px 6px 0px 0px rgba(196, 196, 196, 1);
}

.price-card > * {
    position: relative;
    z-index: 1;
}

.price-card .card-header {
    background: #c4c4c4;
    color: #212121;
    margin: -25px -25px 20px -25px;
    padding: 15px 20px;
    border-radius: 16px 16px 0 0;
    border-bottom: 2px solid rgba(33, 33, 33, 0.2);
}

.price-card .card-title {
    color: #212121;
}

.price-card .card-icon {
    color: #212121;
}

.price-breakdown {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff931c;
    text-align: center;
    margin: 0;
    padding: 15px 0;
}

.filament-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 147, 28, 0.2);
    border: 2px solid #ff931c;
    border-radius: 42px;
    font-size: 0.9em;
    margin-left: 10px;
}

/* ========================================= */
/* NEW STYLES FOR RESULT.HTML ADDITIONS */
/* ========================================= */

/* Color Selector */
.color-selector {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 147, 28, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.color-selector:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 147, 28, 0.4);
}

.color-selector label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #c4c4c4;
    font-size: 1rem;
}

.color-selector select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #000000;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.color-selector select:hover {
    border-color: #ff931c;
    background: rgba(255, 255, 255, 0.15);
}

.color-selector select:focus {
    outline: none;
    border-color: #ff931c;
    box-shadow: 0 0 0 3px rgba(255, 147, 28, 0.2);
}

/* Price Action Row */
.price-action-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(196, 196, 196, 0.2);
}

.price-action-row .color-selector {
    flex: 0 0 auto;
}

/* Quantity Selector */
.quantity-selector {
    flex: 0 0 auto;
}

.quantity-selector label {
    display: block;
    margin-bottom: 10px;
    color: #c4c4c4;
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    background: #212121;
    border: 3px solid #000;
    border-radius: 42px;
    overflow: hidden;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #ff931c;
    color: #212121;
}

.qty-btn:active {
    background: #e58219;
}

.quantity-input-wrapper input[type="number"] {
    width: 55px;
    height: 44px;
    border: none;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    background: #212121;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    -moz-appearance: textfield;
}

.quantity-input-wrapper input[type="number"]::-webkit-outer-spin-button,
.quantity-input-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input-wrapper input[type="number"]:focus {
    outline: none;
    background: rgba(255, 147, 28, 0.1);
}

.discount-badge {
    margin-top: 8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}

.unit-price-info {
    font-size: 0.9rem;
    color: #888;
    margin-right: 5px;
}

/* Color Swatches */
.color-swatches {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.color-swatch input[type="radio"] {
    display: none;
}

.color-swatch .swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #333;
    transition: all 0.2s ease;
}

.color-swatch .color-name {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-swatch:hover {
    background: rgba(255, 255, 255, 0.1);
}

.color-swatch.selected {
    border-color: #ff931c;
    background: rgba(255, 147, 28, 0.1);
}

.color-swatch.selected .swatch {
    border-color: #ff931c;
    box-shadow: 0 0 10px rgba(255, 147, 28, 0.4);
}

.color-swatch.selected .color-name {
    color: #ff931c;
}

.price-action-row .price-button-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.price-action-row .total-price-right {
    font-size: 2rem;
    font-weight: 700;
    color: #ff931c;
    text-align: right;
}

.price-action-row .inline-form {
    display: flex;
    justify-content: flex-end;
}

/* Get Printed Button */
.get-printed-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212121;
    background: #ff931c;
    border: 4px solid #000000;
    border-radius: 42px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    white-space: nowrap;
}

.get-printed-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    background: #ffaa4c;
}

.get-printed-btn:active {
    transform: translate(0, 0);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.get-printed-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

/* Price Display Center (for checkout page) */
.price-display-center {
    text-align: center;
    padding: 20px;
}

.price-display-center .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff931c;
}

.price-display-center .price-unit {
    font-size: 1.2rem;
    color: #888;
    margin-left: 8px;
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.provider-card {
    background: #1a1a1a;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-card:hover {
    border-color: #ff931c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 147, 28, 0.15);
}

.provider-card.selected {
    border-color: #ff931c;
    background: #252525;
    box-shadow: 0 0 20px rgba(255, 147, 28, 0.2);
}

.provider-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.provider-location {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.provider-bio {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.provider-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.provider-stat {
    color: #888;
    font-size: 0.8rem;
}

.provider-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid rgba(196, 196, 196, 0.2);
}

.globe-link {
    color: #ff931c;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.globe-link:hover {
    text-decoration: underline;
    color: #ffaa4d;
}

.no-providers {
    text-align: center;
    padding: 40px;
    color: #888;
}

.no-providers a {
    color: #ff931c;
    text-decoration: none;
}

.no-providers a:hover {
    text-decoration: underline;
}

/* Error and Success Messages */
.error-message,
.success-message {
    margin: 15px 0;
    padding: 15px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: none;
    border: 2px solid;
    animation: slideInDown 0.3s ease;
}

.error-message {
    background: rgba(255, 107, 107, 0.15);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.success-message {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
    color: #4CAF50;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================= */
/* END OF NEW STYLES */
/* ========================================= */

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 33, 33, 0.98);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.loading-content {
    background: #212121;
    border: 4px solid #000000;
    border-radius: 42px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 1);
    max-width: 500px;
    width: 90%;
    min-width: 400px;
    animation: fadeInUp 0.6s ease-out;
    margin: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.loading-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 42px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.loading-content:hover::before {
    background: rgba(255, 147, 28, 0.02);
}

.loading-content:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 8px 8px 0px 0px rgba(196, 196, 196, 1);
}

.loading-content > * {
    position: relative;
    z-index: 1;
}

.loading-spinner {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 147, 28, 0.2);
    border-top: 3px solid #ff931c;
    border-right: 3px solid #ff931c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 30px;
    box-shadow: 0 0 20px rgba(255, 147, 28, 0.3);
}

.loading-text {
    color: #c4c4c4;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.loading-subtext {
    color: #ff931c;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    min-height: 40px;
    animation: pulse 2s infinite;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.filename {
    color: #b0b0b0;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 147, 28, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 147, 28, 0.8), 0 0 30px rgba(255, 147, 28, 0.4); }
}

/* Drag and Drop Styles */
.drag-drop-text {
    text-align: center;
    color: #ff931c;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 15px;
    border: 2px dashed rgba(255, 147, 28, 0.3);
    border-radius: 10px;
    background: rgba(255, 147, 28, 0.05);
    transition: all 0.3s ease;
}

.drag-drop-text.drag-over {
    background: rgba(255, 147, 28, 0.15);
    border-color: rgba(255, 147, 28, 0.7);
    transform: scale(1.02);
}

.drag-drop-text .highlight {
    color: #c4c4c4;
    font-weight: 700;
}

/* Global drag overlay */
.global-drag-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 147, 28, 0.04);
    backdrop-filter: blur(5px);
    border: 4px dashed #000000;
    border-radius: 42px;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.global-drag-overlay.active {
    display: flex;
}

.global-drag-overlay:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
}

.global-drag-message {
    background: #212121;
    border: 4px solid #000000;
    border-radius: 42px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 1);
    max-width: 400px;
    width: 80%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.global-drag-message::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 147, 28, 0.04);
    border-radius: 42px;
    transition: all 0.3s ease;
    filter: blur(40px);
    z-index: 0;
}

.global-drag-message:hover::before {
    background: rgba(255, 147, 28, 0.02);
}

.global-drag-message:hover {
    transform: translate(2px, 2px);
    border-color: #c4c4c4;
    box-shadow: 8px 8px 0px 0px rgba(196, 196, 196, 1);
}

.global-drag-message > * {
    position: relative;
    z-index: 1;
}

.global-drag-message h3 {
    color: #ff931c;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.global-drag-message p {
    color: #c4c4c4;
    font-size: 1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #c4c4c4;
    font-size: 0.9rem;
    margin-top: auto;
}

.footer a {
    color: #ff931c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffaa4d;
    text-decoration: underline;
}

/* Animated Background */
@keyframes animate {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #151515;
    overflow: hidden;
    z-index: -1;
}

.background li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: 33s linear infinite animate;
}

.background li:nth-child(0) {
    left: 34%;
    width: 159px;
    height: 159px;
    bottom: -159px;
    animation-delay: 1s;
}

.background li:nth-child(1) {
    left: 48%;
    width: 127px;
    height: 127px;
    bottom: -127px;
    animation-delay: 4s;
}

.background li:nth-child(2) {
    left: 89%;
    width: 131px;
    height: 131px;
    bottom: -131px;
    animation-delay: 1s;
}

.background li:nth-child(3) {
    left: 59%;
    width: 174px;
    height: 174px;
    bottom: -174px;
    animation-delay: 8s;
}

.background li:nth-child(4) {
    left: 15%;
    width: 69px;
    height: 69px;
    bottom: -69px;
    animation-delay: 5s;
}

.background li:nth-child(5) {
    left: 23%;
    width: 152px;
    height: 152px;
    bottom: -152px;
    animation-delay: 10s;
}

.background li:nth-child(6) {
    left: 69%;
    width: 48px;
    height: 48px;
    bottom: -48px;
    animation-delay: 21s;
}

.background li:nth-child(7) {
    left: 50%;
    width: 124px;
    height: 124px;
    bottom: -124px;
    animation-delay: 29s;
}

.background li:nth-child(8) {
    left: 67%;
    width: 45px;
    height: 45px;
    bottom: -45px;
    animation-delay: 28s;
}

.background li:nth-child(9) {
    left: 30%;
    width: 83px;
    height: 83px;
    bottom: -83px;
    animation-delay: 44s;
}

/* price-action-row is defined above */

/* Responsive Design */
@media (max-width: 768px) {
    .cards-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .upload-card {
        padding: 40px 30px;
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .loading-content {
        padding: 40px 30px;
        min-width: 350px;
        max-width: 90%;
    }
    
    .loading-subtext {
        font-size: 1.4rem;
    }
    
    .global-drag-message {
        padding: 20px 25px;
        max-width: 300px;
    }
    
    .global-drag-message h3 {
        font-size: 1.3rem;
    }
    
    /* Responsive for new elements */
    .price-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .price-action-row .price-button-group {
        align-items: center;
    }

    .price-action-row .total-price-right {
        text-align: center;
        font-size: 1.8rem;
    }

    .get-printed-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .upload-card {
        padding: 35px 25px;
    }
    
    .footer {
        padding: 15px;
        font-size: 0.8rem;
    }
    
    .loading-content {
        padding: 30px 20px;
        min-width: 300px;
        margin: 10px;
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    
    .loading-text {
        font-size: 1.1rem;
    }
    
    .loading-subtext {
        font-size: 1.2rem;
    }
    
    .drag-drop-text {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .global-drag-message {
        padding: 15px 20px;
        max-width: 250px;
    }
    
    .global-drag-message h3 {
        font-size: 1.1rem;
    }
    
    .color-selector {
        padding: 15px;
    }
    
    .get-printed-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .loading-content {
        min-width: 280px;
        padding: 25px 15px;
    }

    .loading-subtext {
        font-size: 1.1rem;
    }

    .total-price {
        font-size: 1.5rem;
    }
}

/* ============================================
   Navigation Styles (base.html)
   ============================================ */

.nav {
    position: relative;
    z-index: 100;
    padding: 15px 0;
    margin-bottom: 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff931c;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #c4c4c4;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.btn-outline {
    border: 3px solid #000;
    padding: 8px 18px;
    border-radius: 42px;
    color: #212121;
    background: #ff931c;
    font-weight: 600;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.3s ease;
}

.nav-link.btn-outline:hover {
    background: #ffaa4c;
    color: #212121;
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 1);
}

.main-content {
    flex: 1;
    position: relative;
    z-index: 10;
}

/* Flash Messages */
.flash-messages {
    max-width: 600px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 100;
}

.flash-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-success {
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.flash-error {
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
}

.flash-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid #ffc107;
    color: #ffc107;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Auth Pages */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.auth-card {
    background: #212121;
    border: 4px solid #000;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.auth-card h1 {
    color: #ff931c;
    margin-bottom: 10px;
    text-align: center;
}

.auth-card .subtitle {
    color: #888;
    text-align: center;
    margin-bottom: 25px;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: #ff931c;
    color: #000;
    border: 4px solid #000;
    border-radius: 42px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.auth-btn:hover {
    background: #ffaa4c;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.auth-btn:active {
    transform: translate(0, 0);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.auth-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.auth-link {
    color: #ff931c;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Footer (base.html) */
.footer-content {
    text-align: center;
    color: #888;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
}

.footer-links a {
    color: #ff931c;
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links .separator {
    margin: 0 10px;
    color: #555;
}

.footer-login {
    position: absolute;
    right: 0;
}

.footer-login a {
    color: #666;
    font-size: 0.85rem;
}

.footer-login a:hover {
    color: #ff931c;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-login {
        position: static;
        margin-top: 10px;
    }
}

/* ============================================
   3D Viewer Styles
   ============================================ */

.viewer-card {
    margin-bottom: 30px;
}

.viewer-container {
    width: 100%;
    height: 400px;
    background: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.viewer-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0 5px;
}

.viewer-btn {
    width: 40px;
    height: 40px;
    border: 3px solid #000;
    border-radius: 10px;
    background: #333;
    color: #c4c4c4;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

.viewer-btn:hover {
    background: #ff931c;
    color: #212121;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.viewer-btn:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

.viewer-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.9);
    z-index: 10;
}

.viewer-loader .loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top-color: #ff931c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.viewer-loader .loader-text {
    margin-top: 15px;
    color: #888;
}

.viewer-error {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: rgba(255, 107, 107, 0.9);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 10;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   UNIFIED CARD SYSTEM
   Use these classes for consistent styling
   ============================================ */

/* Base card - use for all cards */
.pod-card {
    background: #212121;
    border: 4px solid #000;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect for all cards */
.pod-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0px 0px rgba(0, 0, 0, 1);
    border-color: #ff931c;
}

/* Interactive/clickable card variant */
.pod-card--interactive {
    cursor: pointer;
}

.pod-card--interactive:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px 0px rgba(0, 0, 0, 1);
}

.pod-card--interactive:active {
    transform: translate(-1px, -1px);
    box-shadow: 9px 9px 0px 0px rgba(0, 0, 0, 1);
}

/* Selected state for cards */
.pod-card--selected {
    border-color: #ff931c;
    background: #2a2a2a;
}

/* Card with orange header */
.pod-card--header {
    padding-top: 0;
}

.pod-card__header {
    background: #c4c4c4;
    color: #212121;
    margin: 0 -25px 20px -25px;
    padding: 15px 25px;
    border-radius: 16px 16px 0 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.pod-card__header--orange {
    background: #ff931c;
}

/* Card title */
.pod-card__title {
    color: #ff931c;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Card body */
.pod-card__body {
    color: #c4c4c4;
}

/* Small card variant */
.pod-card--sm {
    padding: 20px;
    border-radius: 16px;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.pod-card--sm:hover {
    box-shadow: 9px 9px 0px 0px rgba(0, 0, 0, 1);
}

/* Provider card - specific variant */
.pod-card--provider {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pod-card--provider .provider-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pod-card--provider .provider-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #ff931c;
    object-fit: cover;
    background: #333;
    flex-shrink: 0;
}

.pod-card--provider .provider-avatar-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #333 0%, #444 100%);
    border: 3px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.pod-card--provider .provider-info h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0 0 4px 0;
}

.pod-card--provider .provider-nip05 {
    color: #ff931c;
    font-size: 0.85rem;
}

.pod-card--provider .provider-location {
    color: #888;
    font-size: 0.9rem;
}

.pod-card--provider .provider-bio {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-card--provider .provider-stats {
    display: flex;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid #333;
    margin-top: auto;
}

.pod-card--provider .provider-stat {
    color: #888;
    font-size: 0.85rem;
}

.pod-card--provider .provider-stat strong {
    color: #fff;
}

/* Feature card - for homepage benefits etc */
.pod-card--feature {
    text-align: center;
    padding: 30px 20px;
}

.pod-card--feature .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.pod-card--feature h3 {
    color: #ff931c;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.pod-card--feature p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Stat card */
.pod-card--stat {
    text-align: center;
    padding: 20px;
}

.pod-card--stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ff931c;
    display: block;
}

.pod-card--stat .stat-label {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Action card - for quick action buttons */
.pod-card--action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 20px;
    text-decoration: none;
    color: inherit;
}

.pod-card--action .action-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.pod-card--action .action-label {
    color: #c4c4c4;
    font-size: 0.95rem;
    font-weight: 500;
}

.pod-card--action:hover .action-icon {
    color: #ff931c;
}

.pod-card--action:hover .action-label {
    color: #fff;
}

/* Unified button styles */
.pod-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 42px;
    border: 4px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    text-decoration: none;
}

.pod-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.pod-btn:active {
    transform: translate(0, 0);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.pod-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Primary button */
.pod-btn--primary {
    background: #ff931c;
    color: #000;
}

.pod-btn--primary:hover {
    background: #ffaa4c;
}

/* Secondary button */
.pod-btn--secondary {
    background: #333;
    color: #fff;
}

.pod-btn--secondary:hover {
    background: #444;
    border-color: #ff931c;
}

/* Outline button */
.pod-btn--outline {
    background: transparent;
    color: #ff931c;
    border-color: #ff931c;
}

.pod-btn--outline:hover {
    background: #ff931c;
    color: #000;
}

/* Purple button (for Nostr) */
.pod-btn--purple {
    background: var(--accent-secondary);
    color: #fff;
}

.pod-btn--purple:hover {
    background: #5a0090;
}

/* Small button */
.pod-btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.pod-btn--sm:hover {
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

/* Large button */
.pod-btn--lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Full width button */
.pod-btn--block {
    width: 100%;
}

/* Grid layouts */
.pod-grid {
    display: grid;
    gap: 25px;
}

.pod-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.pod-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.pod-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.pod-grid--auto {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (max-width: 992px) {
    .pod-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pod-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pod-grid--4,
    .pod-grid--3,
    .pod-grid--2 {
        grid-template-columns: 1fr;
    }
}

/* Separator */
.pod-separator {
    height: 1px;
    background: #333;
    margin: 20px 0;
}

/* Text utilities */
.text-orange { color: #ff931c; }
.text-gray { color: #888; }
.text-white { color: #fff; }
.text-muted { color: #666; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-mono { font-family: monospace; }

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

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-welcome h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 8px 0;
}

.provider-npub {
    color: #888;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 0;
}

.provider-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.provider-status.status-active {
    background: #00b894;
    color: #fff;
}

.provider-status.status-pending {
    background: #fdcb6e;
    color: #000;
}

.provider-status.status-suspended {
    background: #e74c3c;
    color: #fff;
}

/* Profile Header with Avatar */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #212121;
    border: 4px solid #000;
    border-radius: 20px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ff931c;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff931c 0%, #e67e22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
}

.profile-header-info {
    flex: 1;
    min-width: 0;
}

.profile-header-info h1 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 5px 0;
}

.profile-header-info .provider-npub {
    margin-bottom: 8px;
}

.profile-header-info .profile-bio {
    color: #c4c4c4;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.profile-header-status {
    align-self: flex-start;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid;
}

.alert-warning {
    background: rgba(253, 203, 110, 0.15);
    border-color: #fdcb6e;
    color: #fdcb6e;
}

.alert-success {
    background: rgba(0, 184, 148, 0.15);
    border-color: #00b894;
    color: #00b894;
}

.alert-error {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
    color: #e74c3c;
}

.alert strong {
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #212121;
    border: 4px solid #000;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff931c;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Sections */
.dashboard-section {
    background: #212121;
    border: 4px solid #000;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-title {
    color: #ff931c;
    font-size: 1.3rem;
    margin: 0;
}

.section-link {
    color: #ff931c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: #212121;
    border: 3px solid #000;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 1);
}

.action-card:hover {
    background: #2a2a2a;
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px 0px rgba(0, 0, 0, 1);
    border-color: #ff931c;
}

.action-card:active {
    transform: translate(0, 0);
    box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 1);
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.action-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Orders Table */
.orders-table {
    overflow-x: auto;
}

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

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.orders-table th {
    color: #888;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table td {
    color: #fff;
    font-size: 0.95rem;
}

.orders-table a {
    color: #ff931c;
    text-decoration: none;
}

.orders-table a:hover {
    text-decoration: underline;
}

.orders-table tbody tr:hover {
    background: rgba(255, 147, 28, 0.05);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.status-pending,
.status-badge.status-awaiting_payment {
    background: rgba(253, 203, 110, 0.2);
    color: #fdcb6e;
}

.status-badge.status-paid,
.status-badge.status-printing {
    background: rgba(116, 185, 255, 0.2);
    color: #74b9ff;
}

.status-badge.status-shipped {
    background: rgba(162, 155, 254, 0.2);
    color: #a29bfe;
}

.status-badge.status-completed,
.status-badge.status-delivered {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.status-badge.status-cancelled,
.status-badge.status-refunded {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Materials List */
.materials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.material-badge {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.material-badge .color-count {
    color: #888;
    font-weight: 400;
    margin-left: 5px;
}

/* Profile Card */
.profile-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #333;
}

.profile-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff931c 0%, #e67e22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
}

.profile-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
}

.profile-bio {
    color: #c4c4c4;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.profile-location,
.profile-lightning {
    color: #888;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.empty-state p {
    margin: 0;
    font-size: 1rem;
}

.empty-state a {
    color: #ff931c;
}

/* Dashboard Container */
.dashboard-section + .dashboard-section {
    margin-top: 25px;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-header-info h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .orders-table th,
    .orders-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

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

    .action-card {
        padding: 20px 10px;
    }

    .action-icon {
        font-size: 1.5rem;
    }
}

/* Custom Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #444;
    border-radius: 6px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #ff931c;
    border-color: #ff931c;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label:hover .checkbox-custom {
    border-color: #ff931c;
}

/* ============================================
   Sidebar - Neobrutalist Style
   ============================================ */

/* Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: #212121;
    border: 3px solid #000;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ff931c;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.hamburger:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.hamburger:active {
    transform: translate(0, 0);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

/* Nav Logo Image */
.nav-logo-img {
    height: 32px;
    width: auto;
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-img-large {
    height: 48px;
    width: auto;
}

/* Sidebar Toggle Button - Arrow Style */
.sidebar-toggle {
    display: none; /* Hidden on mobile, shown via media query on desktop */
    position: fixed;
    left: 260px;
    top: 28px;
    width: 24px;
    height: 36px;
    padding: 0;
    background: #212121;
    border: 3px solid #000;
    border-left: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.sidebar-toggle .toggle-arrow {
    color: #ff931c;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

.sidebar-toggle:hover {
    background: #333;
}

.sidebar-toggle:hover .toggle-arrow {
    color: #fff;
}

/* When sidebar is minimized, move toggle to left edge */
body.sidebar-minimized .sidebar-toggle {
    left: 0;
}

/* Mobile nav - only visible on tablet/mobile */
.mobile-nav {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-nav {
        display: block;
    }
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 50%;
    color: #888;
    transition: all 0.2s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: #888;
    border-color: #ff931c;
    color: #ff931c;
    transform: translateY(-2px);
}

/* Sidebar Overlay - only visible on mobile/tablet */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Base */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #1a1a1a;
    border-right: 4px solid #000;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop: Sidebar always visible, toggle minimizes completely */
@media (min-width: 1025px) {
    .sidebar {
        transform: translateX(0);
        width: 260px;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-toggle {
        display: flex;
    }

    .sidebar.minimized {
        width: 0;
        border-right: none;
    }

    .sidebar.minimized .sidebar-header,
    .sidebar.minimized .sidebar-nav,
    .sidebar.minimized .sidebar-footer {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body {
        margin-left: 264px;
        transition: margin-left 0.3s ease;
    }

    body.sidebar-minimized {
        margin-left: 28px;
    }

    .sidebar-close {
        display: none;
    }

    .sidebar-overlay {
        display: none !important;
    }
}

/* Tablet and Mobile: Off-canvas behavior */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 8px 0 0 0 rgba(0, 0, 0, 1);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
    }

    body {
        margin-left: 0 !important;
    }
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 3px solid #333;
    background: #212121;
}

.sidebar-logo {
    display: flex;
    align-items: center;
}

/* Sidebar Close Button */
.sidebar-close {
    width: 36px;
    height: 36px;
    background: #333;
    border: 3px solid #000;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.sidebar-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 3px;
    background: #ff931c;
    border-radius: 2px;
}

.sidebar-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sidebar-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sidebar-close:hover {
    background: #444;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.sidebar-close:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.sidebar-section {
    padding: 10px 20px;
    border-bottom: 2px solid #2a2a2a;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 5px;
}

/* Sidebar Links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin: 4px 0;
    color: #c4c4c4;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: #2a2a2a;
    color: #fff;
    border-color: #333;
}

.sidebar-link:active {
    background: #333;
}

.sidebar-link.active {
    background: #ff931c;
    color: #000;
    border-color: #000;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

.sidebar-icon {
    display: none;
}

/* Sidebar Footer / Profile */
.sidebar-footer {
    padding: 20px;
    border-top: 3px solid #333;
    background: #212121;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.sidebar-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #333;
    border: 3px solid #ff931c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff931c;
    overflow: hidden;
}

.sidebar-profile-avatar.has-image {
    padding: 0;
    background: none;
}

.sidebar-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.sidebar-profile-info {
    flex: 1;
    min-width: 0;
}

.sidebar-profile-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-status {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}

.sidebar-profile-status.status-approved {
    background: #00b894;
    color: #fff;
}

.sidebar-profile-status.status-pending {
    background: #fdcb6e;
    color: #000;
}

.sidebar-profile-status.status-suspended {
    background: #e74c3c;
    color: #fff;
}

/* Logout Button */
.sidebar-logout-btn {
    width: 100%;
    padding: 12px 20px;
    background: #333;
    color: #c4c4c4;
    border: 3px solid #000;
    border-radius: 42px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.sidebar-logout-btn:hover {
    background: #e74c3c;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.sidebar-logout-btn:active {
    transform: translate(0, 0);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

/* Responsive adjustments - small mobile */
@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        max-width: 100%;
        border-right: none;
        box-shadow: none;
    }
}

/* ============================================
   Provider Pages Styles
   ============================================ */

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #333;
}

.page-header h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

/* Filter Bar */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: #212121;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.filter-btn {
    padding: 10px 18px;
    background: #1a1a1a;
    color: #888;
    border: 2px solid #333;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #2a2a2a;
    color: #fff;
    border-color: #444;
}

.filter-btn.active {
    background: #ff931c;
    color: #000;
    border-color: #000;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #212121;
    border: 3px solid #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.order-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a1a1a;
    border-bottom: 2px solid #333;
}

.order-id a {
    color: #ff931c;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.order-id a:hover {
    text-decoration: underline;
}

.order-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

.order-info {
    flex: 1;
}

.order-filename {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.order-details {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.order-time {
    color: #666;
    font-size: 0.85rem;
}

.order-amount {
    text-align: right;
}

.amount-label {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.amount-value {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.2rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a1a1a;
    border-top: 2px solid #333;
}

.order-date {
    color: #666;
    font-size: 0.85rem;
}

.order-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Status Badges */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-new,
.status-badge.status-NEW {
    background: #ff931c;
    color: #000;
}

.status-badge.status-assigned,
.status-badge.status-ASSIGNED {
    background: #9C27B0;
    color: #fff;
}

.status-badge.status-printing,
.status-badge.status-PRINTING {
    background: #ff931c;
    color: #000;
}

.status-badge.status-shipped,
.status-badge.status-SHIPPED {
    background: #00BCD4;
    color: #000;
}

.status-badge.status-delivered,
.status-badge.status-DELIVERED {
    background: #4CAF50;
    color: #fff;
}

.status-badge.status-cancelled,
.status-badge.status-CANCELLED {
    background: #f44336;
    color: #fff;
}

.status-badge.active {
    background: #4CAF50;
    color: #fff;
}

.status-badge.pending {
    background: #ff931c;
    color: #000;
}

.status-badge.revoked {
    background: #666;
    color: #fff;
}

/* Payment Badges */
.payment-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-badge.paid {
    background: #4CAF50;
    color: #fff;
}

.payment-badge.pending {
    background: #ff931c;
    color: #000;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #212121;
    border: 3px solid #000;
    border-radius: 16px;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ff931c;
    color: #000;
    border: 3px solid #000;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.btn-secondary {
    background: #333;
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-width: 2px;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #212121;
    border: 3px solid #000;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #ff931c 0%, #ff6b00 100%);
}

.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label {
    color: #000;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

/* Card Component - Provider Dashboard */
.provider-card,
.dashboard-card {
    background: #212121;
    border: 3px solid #000;
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.provider-card .card-header,
.dashboard-card .card-header {
    padding: 18px 22px;
    background: #1a1a1a;
    border-bottom: 2px solid #333;
    border-radius: 17px 17px 0 0;
}

.card-header h2 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.card-body {
    padding: 22px;
}

/* Tables */
.earnings-table,
.api-keys-table {
    width: 100%;
    border-collapse: collapse;
}

.earnings-table th,
.api-keys-table th,
.earnings-table td,
.api-keys-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.earnings-table th,
.api-keys-table th {
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.earnings-table td,
.api-keys-table td {
    color: #c4c4c4;
}

.earnings-table .amount {
    color: #4CAF50;
    font-weight: 600;
}

.api-keys-table code {
    background: #1a1a1a;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #ff931c;
}

.api-keys-table tr.inactive {
    opacity: 0.5;
}

/* Lightning Address Display */
.lightning-address-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    margin-bottom: 15px;
}

.lightning-icon {
    font-size: 1.5rem;
}

.lightning-address-display .address {
    color: #ff931c;
    font-family: monospace;
    font-size: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #c4c4c4;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ff931c;
}

.generate-key-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.generate-key-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Text Utilities */
.text-muted {
    color: #666 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .order-body {
        flex-direction: column;
    }

    .order-amount {
        text-align: left;
        padding-top: 15px;
        border-top: 1px solid #333;
    }

    .order-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

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

    .generate-key-form {
        flex-direction: column;
    }
}

/* ============================================
   Admin Dashboard Styles
   ============================================ */

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #212121;
    border: 3px solid #000;
    border-radius: 14px;
    color: #c4c4c4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.quick-action:hover {
    background: #2a2a2a;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1);
}

.quick-action-icon {
    font-size: 1.4rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Tables */
.card table {
    width: 100%;
    border-collapse: collapse;
}

.card table th,
.card table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.card table th {
    color: #888;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card table td {
    color: #c4c4c4;
}

.card table tbody tr:hover {
    background: #1a1a1a;
}

/* Admin Buttons */
.btn-success {
    background: #4CAF50;
    color: #fff;
}

.btn-danger {
    background: #f44336;
    color: #fff;
}

.btn-warning {
    background: #ff931c;
    color: #000;
}

