/* 
    Created on : Dec 5, 2024, 12:51:05 PM
    Author     : djoluc
*/

div.payment_method_bubble{
    width: auto; 
    height: 50px; 
    border-radius: 25px; 
    background: #222222; 
    margin-left: 10px;
    overflow: hidden;
}

div.payment_method_bubble > div:first-child{
    min-width: 80px; 
    height: 100%; 
    background: #0175c2; 
    color: #eaeaea;
    font-size: 18px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

div.payment_method_bubble > div:last-child{
    min-width: 40px; 
    height: 100%; 
    background: #c20101; 
    color: #eaeaea;
    font-size: 18px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

div.payment_method_bubble > div:not(:first-child):not(:last-child){
    width: auto; 
    height: 100%; 
    padding-left: 30px; 
    padding-right: 30px;
    font-size: 16px;
    color: #738a94;
    flex-wrap: nowrap;
    white-space: nowrap;
}

[htx-table-layout]{
    font-size: 13px;
}

.table_select{
    width: 100%;
    height: 100%;
    background: transparent;
    border-width: 0px;
    color: inherit;
    font-weight: inherit;
    text-align: center;
}

.table_select > option{
    background: #222222;
}

htx-progress-container{
    display: inline-block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background: transparent;
}

htx-progress-container > htx-progress{
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 0%;
    height: 100%;
    border-radius: 5px;
    background: var(--htx-left-panel-page-content-header-progress-color, #a8a8a8);
    transition: 200ms;
}

htx-progress-container > htx-progress[htx-indeterminate]{
    width: 100%;
    transform-origin: 0% 50%;
    animation: htx-anim-progress-indeterminate 1s infinite linear;
}

/* MainPage & Dashboard CSS - Dark Theme */
:root {
    --mp-primary: #818cf8;
    --mp-primary-hover: #6366f1;
    --mp-primary-light: #1e1b4b;
    --mp-primary-glow: rgba(129, 140, 248, 0.25);
    --mp-gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --mp-gradient-card: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --mp-card-bg: #0f172a;
    --mp-card-border: #1e293b;
    --mp-card-hover-border: #334155;
    --mp-text-main: #f8fafc;
    --mp-text-muted: #94a3b8;
    --mp-text-subtle: #64748b;
    --mp-bg: #0b0f19;
    --mp-badge-bg: #1e293b;
    --mp-badge-text: #cbd5e1;
    --mp-hover-bg: #1e293b;
    --mp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --mp-shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.3), 0 2px 6px -1px rgba(0, 0, 0, 0.2);
    --mp-shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.5), 0 4px 12px -2px rgba(99, 102, 241, 0.15);
}

/* Base resets & typography */
.mp-landing, .mp-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--mp-text-main);
    box-sizing: border-box;
}

.mp-landing *, .mp-container * {
    box-sizing: border-box;
}

/* ==========================================================================
   LANDING PAGE STYLES (Unauthenticated - Dark Theme)
   ========================================================================== */

.mp-landing {
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #17153a 0%, #0b0f19 75%);
    overflow-x: hidden;
    position: relative;
    padding-bottom: 0;
}

/* Ambient glow blobs */
.mp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.mp-hero-glow-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.12) 70%, transparent 100%);
}
.mp-hero-glow-2 {
    width: 420px;
    height: 420px;
    top: 220px;
    right: 5%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.08) 70%, transparent 100%);
}

/* Hero Section */
.mp-hero-section {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.mp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mp-badge-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
    border-color: #4f46e5;
}
.mp-badge-arrow {
    opacity: 0.7;
    transition: transform 0.2s;
}
.mp-badge-pill:hover .mp-badge-arrow {
    transform: translateX(2px);
}

.mp-hero-title {
    font-size: 54px;
    line-height: 1.15;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    max-width: 920px;
}
.mp-text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mp-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 760px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.mp-hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.mp-btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mp-gradient-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}
.mp-btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.6);
    color: #ffffff;
}

.mp-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}
.mp-btn-cta-secondary:hover {
    background: #1e293b;
    border-color: #475569;
    color: #ffffff;
    transform: translateY(-1px);
}

.mp-hero-guarantees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}
.mp-guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
}
.mp-guarantee-item svg {
    color: #34d399;
}

/* Hero Showcase Mockup */
.mp-hero-showcase {
    width: 100%;
    max-width: 960px;
    margin-top: 48px;
    position: relative;
}

.mp-showcase-window {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.6), 0 8px 24px -4px rgba(99, 102, 241, 0.15);
    overflow: visible;
    position: relative;
    text-align: left;
}

.mp-showcase-topbar {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 14px 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mp-window-dots {
    display: flex;
    gap: 6px;
}
.mp-window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mp-window-dots .dot.red { background: #ff5f56; }
.mp-window-dots .dot.yellow { background: #ffbd2e; }
.mp-window-dots .dot.green { background: #27c93f; }

.mp-window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
}
.mp-window-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4ade80;
    font-weight: 600;
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: mp-pulse 1.8s infinite;
}
@keyframes mp-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Stepper inside mockup */
.mp-showcase-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: #0b0f19;
    border-bottom: 1px solid #1e293b;
    gap: 12px;
}
.mp-step-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}
.mp-step-chip.completed {
    color: #34d399;
}
.mp-step-chip.active {
    color: #818cf8;
    font-weight: 600;
}
.mp-step-chip .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: #1e293b;
    color: #94a3b8;
}
.mp-step-chip.completed .step-num {
    background: #064e3b;
    color: #34d399;
}
.mp-step-chip.active .step-num {
    background: #6366f1;
    color: #ffffff;
}
.step-line {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: #1e293b;
}
.step-line.active {
    background: #6366f1;
}

.mp-showcase-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mp-mock-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mp-mock-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}
.mp-mock-label .required {
    color: #f87171;
}

/* Audio Player Mock */
.mp-mock-audio-player {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
}
.mp-mock-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}
.mp-mock-waveform {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
}
.mp-mock-waveform span {
    flex: 1;
    background: #334155;
    border-radius: 2px;
    min-height: 4px;
}
.mp-mock-waveform span:nth-child(-n+8) {
    background: #818cf8;
}
.mp-mock-timer {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}
.mp-mock-tag-saved {
    font-size: 11px;
    font-weight: 600;
    background: #064e3b;
    color: #34d399;
    padding: 3px 8px;
    border-radius: 6px;
}

/* File Mock Card */
.mp-mock-file-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
}
.mp-mock-file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #7f1d1d;
    color: #fca5a5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-mock-file-info {
    flex: 1;
}
.mp-mock-file-info .name {
    font-size: 13px;
    font-weight: 600;
    color: #f8fafc;
}
.mp-mock-file-info .size {
    font-size: 11px;
    color: #94a3b8;
}
.mp-mock-file-badge {
    font-size: 11px;
    font-weight: 600;
    background: #312e81;
    color: #818cf8;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Jury Evaluation Snippet Mock */
.mp-mock-field.jury-highlight {
    background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
    border: 1px solid #4338ca;
    border-radius: 12px;
    padding: 14px 18px;
}
.mp-mock-jury-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.jury-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #c4b5fd;
}
.jury-status {
    font-size: 11px;
    font-weight: 600;
    background: #0f172a;
    color: #c4b5fd;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #4338ca;
}
.mp-mock-criteria-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: #ddd6fe;
}
.stars {
    color: #fbbf24;
    font-weight: 700;
}
.stars .score {
    color: #c4b5fd;
    margin-left: 4px;
    font-size: 12px;
}

/* Floating decorative badges */
.mp-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.6);
    z-index: 2;
    animation: mp-float 4s ease-in-out infinite alternate;
}
.mp-floating-badge .icon {
    font-size: 20px;
}
.mp-floating-badge strong {
    display: block;
    font-size: 13px;
    color: #f8fafc;
}
.mp-floating-badge p {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
}
.badge-top-left {
    top: 40px;
    left: -48px;
    animation-delay: 0s;
}
.badge-top-right {
    top: 110px;
    right: -52px;
    animation-delay: 1.5s;
}
.badge-bottom-right {
    bottom: -24px;
    left: 40px;
    animation-delay: 0.8s;
}

@keyframes mp-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Metrics Strip Section */
.mp-metrics-section {
    max-width: 1140px;
    margin: 40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.mp-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.mp-metric-box {
    text-align: center;
    padding: 0 12px;
    border-right: 1px solid #1e293b;
}
.mp-metric-box:last-child {
    border-right: none;
}
.mp-metric-number {
    font-size: 38px;
    font-weight: 800;
    color: #818cf8;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.mp-metric-title {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 6px;
}
.mp-metric-desc {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

/* Features Section */
.mp-features-section {
    max-width: 1240px;
    margin: 100px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.mp-section-head {
    text-align: center;
    margin-bottom: 56px;
}
.mp-section-pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #a5b4fc;
    background: #1e1b4b;
    border: 1px solid #312e81;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 12px;
}
.mp-section-title {
    font-size: 36px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
.mp-section-subtitle {
    font-size: 16px;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.mp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.mp-feature-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.mp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.4);
    border-color: #4338ca;
}
.mp-feat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.mp-feat-icon-wrap.icon-purple { background: #2e1065; color: #a78bfa; }
.mp-feat-icon-wrap.icon-blue { background: #0c4a6e; color: #38bdf8; }
.mp-feat-icon-wrap.icon-emerald { background: #064e3b; color: #34d399; }
.mp-feat-icon-wrap.icon-amber { background: #713f12; color: #fbbf24; }
.mp-feat-icon-wrap.icon-indigo { background: #1e1b4b; color: #818cf8; }
.mp-feat-icon-wrap.icon-rose { background: #881337; color: #fb7185; }

.mp-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 10px;
}
.mp-feature-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

/* Use cases section */
.mp-usecases-section {
    max-width: 1240px;
    margin: 110px auto 0;
    padding: 0 24px;
}
.mp-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.mp-usecase-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.mp-usecase-card:hover {
    transform: translateY(-3px);
    border-color: #334155;
}
.mp-usecase-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: #1e293b;
    color: #cbd5e1;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.mp-usecase-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 12px;
}
.mp-usecase-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 20px;
}
.mp-usecase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Steps section */
.mp-steps-section {
    max-width: 1140px;
    margin: 110px auto 0;
    padding: 0 24px;
}
.mp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.mp-step-item {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
}
.mp-step-number {
    font-size: 32px;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}
.mp-step-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 8px;
}
.mp-step-item p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* Bottom CTA section */
.mp-bottom-cta-section {
    max-width: 1140px;
    margin: 110px auto 80px;
    padding: 0 24px;
}
.mp-bottom-cta-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border: 1px solid #4338ca;
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}
.mp-cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.mp-bottom-cta-card h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.mp-bottom-cta-card p {
    font-size: 17px;
    color: #e0e7ff;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.mp-btn-cta-primary.large {
    font-size: 17px;
    padding: 16px 36px;
    background: #ffffff;
    color: #312e81;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.mp-btn-cta-primary.large:hover {
    background: #f8fafc;
    color: #1e1b4b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.mp-cta-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    font-size: 13px;
    color: #c7d2fe;
    font-weight: 500;
}

/* Landing Footer */
.mp-landing-footer {
    background: #0b0f19;
    border-top: 1px solid #1e293b;
    padding: 60px 24px 32px;
}
.mp-footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}
.mp-footer-brand {
    max-width: 380px;
}
.mp-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
}
.mp-footer-logo img {
    height: 28px;
}
.mp-footer-brand p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}
.mp-footer-links {
    display: flex;
    gap: 60px;
}
.mp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mp-footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.mp-footer-col a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.mp-footer-col a:hover {
    color: #818cf8;
}
.mp-footer-bottom {
    max-width: 1140px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* ==========================================================================
   AUTHENTICATED WORKSPACE STYLES (Dark Theme)
   ========================================================================== */

.mp-container {
    max-width: 1160px;
    margin: 32px auto;
    padding: 0 24px;
}

/* Header Banner */
.mp-header-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 32px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: var(--mp-shadow-md);
    position: relative;
    overflow: hidden;
}
.mp-greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    border: 1px solid #4338ca;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 8px;
}
.mp-header-left h1 {
    font-size: 28px;
    color: #f8fafc;
    margin: 0 0 8px 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.mp-header-left p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
    max-width: 620px;
    line-height: 1.5;
}
.mp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-btn-create {
    background: var(--mp-gradient-primary);
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.mp-btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
}
.mp-btn-secondary {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.mp-btn-secondary:hover {
    background: #334155;
    border-color: #475569;
    color: #ffffff;
}

/* Stats Cards Grid */
.mp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.mp-stat-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--mp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--mp-shadow-md);
    border-color: #334155;
}
.mp-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-stat-card.stat-total .mp-stat-icon { background: #1e1b4b; color: #a78bfa; }
.mp-stat-card.stat-active .mp-stat-icon { background: #064e3b; color: #34d399; }
.mp-stat-card.stat-draft .mp-stat-icon { background: #1e293b; color: #94a3b8; }
.mp-stat-card.stat-jury .mp-stat-icon { background: #0c4a6e; color: #38bdf8; }

.mp-stat-info {
    flex: 1;
}
.mp-stat-val {
    font-size: 26px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
    margin-bottom: 4px;
}
.mp-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Quick Creation Shortcuts Bar */
.mp-quick-shortcuts-section {
    margin-bottom: 24px;
}
.mp-shortcuts-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.mp-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mp-shortcut-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mp-shortcut-card:hover {
    border-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    background: #131c31;
}
.mp-shortcut-icon {
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
}
.mp-shortcut-content {
    flex: 1;
}
.mp-shortcut-content h4 {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}
.mp-shortcut-content p {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}
.mp-shortcut-arrow {
    font-size: 14px;
    color: #64748b;
    transition: transform 0.2s, color 0.2s;
}
.mp-shortcut-card:hover .mp-shortcut-arrow {
    transform: translateX(3px);
    color: #818cf8;
}

/* Main Card */
.mp-card {
    background: #0f172a;
    border-radius: 16px;
    border: 1px solid var(--mp-card-border);
    box-shadow: var(--mp-shadow-sm);
    margin-bottom: 24px;
}
.mp-card-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--mp-card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.mp-ch-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.mp-ch-icon {
    width: 38px;
    height: 38px;
    background: #1e1b4b;
    color: #818cf8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-ch-title h2 {
    margin: 0 0 4px 0;
    font-size: 17px;
    color: #f8fafc;
    font-weight: 700;
}
.mp-ch-title p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.mp-header-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Search Box */
.mp-search-box {
    position: relative;
    width: 240px;
}
.mp-search-box svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}
.mp-search-box input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 13px;
    color: #f8fafc;
    outline: none;
    transition: all 0.2s;
}
.mp-search-box input:focus {
    background: #0f172a;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

/* Tabs */
.mp-tabs {
    display: flex;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
}
.mp-tab {
    padding: 6px 14px;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.mp-tab:hover {
    color: #ffffff;
}
.mp-tab.active {
    background: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: #f8fafc;
    font-weight: 600;
}

/* Forms List */
.mp-list {
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 140px;
    position: relative;
    z-index: 10;
}
.mp-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #1e293b;
    position: relative;
    transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mp-list-item:hover {
    border-color: #334155;
    background: #131c31;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.mp-list-item.menu-open {
    z-index: 1000 !important;
    border-color: #4338ca;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.mp-item-icon {
    width: 44px;
    height: 44px;
    background: #1e1b4b;
    color: #818cf8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}
.mp-item-icon.online {
    background: #064e3b;
    color: #34d399;
}
.mp-item-content {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}
.mp-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.mp-item-title h3 {
    margin: 0;
    font-size: 15px;
    color: #f8fafc;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Badges */
.mp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}
.mp-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.mp-badge.online { background: #064e3b; color: #34d399; }
.mp-badge.online .mp-badge-dot { background: #34d399; box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2); }
.mp-badge.draft { background: #1e293b; color: #94a3b8; }
.mp-badge.draft .mp-badge-dot { background: #64748b; }
.mp-badge.archived { background: #713f12; color: #fde047; }
.mp-badge.archived .mp-badge-dot { background: #eab308; }
.mp-badge.closed { background: #7f1d1d; color: #fca5a5; }
.mp-badge.closed .mp-badge-dot { background: #ef4444; }
.mp-badge.jury { background: #1e1b4b; color: #a78bfa; border: 1px solid #312e81; }

.mp-item-meta {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mp-id-badge {
    background: #1e293b;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    color: #cbd5e1;
}

/* List Item Actions */
.mp-item-actions {
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    z-index: 1001;
}

.mp-btn-ellipsis {
    background: #1e293b;
    border: 1px solid #334155;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #94a3b8;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-btn-ellipsis:hover {
    background: #334155;
    border-color: #475569;
    color: #ffffff;
}

/* Dropdown Menu */
.mp-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1002;
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.7), 0 4px 12px -2px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
    min-width: 210px;
    padding: 6px;
}
.mp-dropdown-menu.show {
    display: block;
    animation: mp-dropdown-in 0.15s ease-out;
}
@keyframes mp-dropdown-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.mp-dropdown-divider {
    height: 1px;
    background: #1e293b;
    margin: 4px 6px;
}
.mp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.mp-dropdown-item:hover {
    background-color: #1e293b;
    color: #ffffff;
}
.mp-dropdown-item.primary-action {
    color: #818cf8;
    font-weight: 600;
}
.mp-dropdown-item.primary-action:hover {
    background-color: #1e1b4b;
    color: #c4b5fd;
}
.mp-dropdown-item.mp-btn-delete {
    color: #f87171;
}
.mp-dropdown-item.mp-btn-delete:hover {
    background-color: #450a0a;
    color: #fca5a5;
}

/* Card Footer */
.mp-card-footer {
    padding: 16px 32px;
    border-top: 1px solid var(--mp-card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    background: #0b0f19;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 1;
}
.mp-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #22c55e;
    font-weight: 500;
}
.mp-footer-right {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}
.mp-footer-right:hover {
    color: #a5b4fc;
}

/* Loading & Empty States */
.mp-loading-state, .mp-empty-state {
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mp-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #1e293b;
    border-top-color: #818cf8;
    border-radius: 50%;
    animation: mp-spin 0.8s linear infinite;
    margin-bottom: 12px;
}
@keyframes mp-spin {
    to { transform: rotate(360deg); }
}
.mp-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.mp-empty-state h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
}
.mp-empty-state p {
    margin: 0 0 20px;
    font-size: 13px;
    color: #94a3b8;
}
.mp-btn-create-empty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mp-gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* Pro Tip Banner */
.mp-pro-tip-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid #312e81;
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--mp-shadow-sm);
}
.mp-tip-icon {
    font-size: 24px;
}
.mp-tip-body {
    flex: 1;
}
.mp-tip-body strong {
    display: block;
    font-size: 13px;
    color: #c4b5fd;
    margin-bottom: 2px;
}
.mp-tip-body p {
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
}
.mp-tip-btn {
    background: #1e293b;
    border: 1px solid #4338ca;
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}
.mp-tip-btn:hover {
    background: #312e81;
}

/* Dashboard statistics fallback classes */
.db-stat-value {
    font-size: 32px;
    font-weight: 700;
}
.db-stat-label {
    font-size: 14px;
    font-weight: 500;
}
.db-stat-total .db-stat-value { color: #f8fafc; }
.db-stat-total .db-stat-label { color: #94a3b8; }
.db-stat-active .db-stat-value { color: #4ade80; }
.db-stat-active .db-stat-label { color: #94a3b8; }
.db-stat-draft .db-stat-value { color: #cbd5e1; }
.db-stat-draft .db-stat-label { color: #94a3b8; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .mp-hero-title { font-size: 42px; }
    .mp-features-grid, .mp-usecases-grid, .mp-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .mp-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .mp-metric-box { border-right: none; }
    .mp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mp-shortcuts-grid { grid-template-columns: repeat(2, 1fr); }
    .badge-top-left, .badge-top-right, .badge-bottom-right { display: none; }
}

@media (max-width: 768px) {
    .mp-container { 
        padding: 12px 14px; 
        margin: 16px auto;
    }
    .mp-hero-section { 
        padding: 36px 16px 50px; 
    }
    .mp-hero-title { 
        font-size: 30px; 
        line-height: 1.2;
    }
    .mp-hero-subtitle { 
        font-size: 15px; 
        margin-bottom: 24px;
    }
    .mp-hero-cta-group { 
        flex-direction: column; 
        width: 100%; 
        gap: 12px;
    }
    .mp-btn-cta-primary, .mp-btn-cta-secondary { 
        width: 100%; 
        justify-content: center; 
        padding: 12px 20px;
    }
    
    .mp-header-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 16px;
        border-radius: 14px;
    }
    .mp-header-left h1 {
        font-size: 22px;
    }
    .mp-header-left p {
        font-size: 13px;
    }
    .mp-header-actions { 
        width: 100%; 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .mp-btn-create, .mp-btn-secondary { 
        width: 100%; 
        justify-content: center; 
        padding: 10px 12px;
        font-size: 13px;
    }

    .mp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }
    .mp-stat-card {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 12px;
    }
    .mp-stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .mp-stat-val {
        font-size: 20px;
    }
    .mp-stat-label {
        font-size: 10px;
    }

    .mp-quick-shortcuts-section {
        margin-bottom: 16px;
    }
    .mp-shortcuts-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mp-shortcut-card {
        padding: 12px 14px;
    }

    .mp-card {
        border-radius: 14px;
        margin-bottom: 16px;
    }
    .mp-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }
    .mp-ch-left {
        gap: 12px;
    }
    .mp-ch-icon {
        width: 34px;
        height: 34px;
    }
    .mp-ch-title h2 {
        font-size: 15px;
    }
    .mp-ch-title p {
        font-size: 12px;
    }
    .mp-header-controls { 
        width: 100%; 
        flex-direction: column; 
        align-items: stretch; 
        gap: 10px;
    }
    .mp-search-box { 
        width: 100%; 
    }
    .mp-search-box input {
        height: 38px;
        font-size: 13px;
    }
    .mp-tabs { 
        width: 100%; 
        display: flex;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
    }
    .mp-tabs::-webkit-scrollbar {
        display: none;
    }
    .mp-tab {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 12px;
    }

    .mp-features-grid, .mp-usecases-grid, .mp-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mp-list { 
        padding: 12px 14px; 
        gap: 10px;
    }
    .mp-list-item { 
        flex-direction: row; 
        align-items: center; 
        justify-content: space-between;
        padding: 12px 14px;
        gap: 12px; 
    }
    .mp-item-icon {
        width: 38px;
        height: 38px;
        margin-right: 0;
        border-radius: 8px;
    }
    .mp-item-content {
        flex: 1;
        min-width: 0;
    }
    .mp-item-title {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 2px;
    }
    .mp-item-title h3 { 
        font-size: 14px;
        max-width: 100%; 
    }
    .mp-badge {
        font-size: 10px;
        padding: 2px 7px;
    }
    .mp-item-meta {
        font-size: 11px;
        gap: 6px;
        flex-wrap: wrap;
    }
    .mp-item-actions { 
        width: auto; 
        justify-content: flex-end; 
    }
    .mp-btn-ellipsis {
        width: 36px;
        height: 36px;
        padding: 0;
    }
    .mp-dropdown-menu {
        right: 0;
        min-width: 190px;
    }

    .mp-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }
    .mp-footer-left {
        font-size: 12px;
    }
    .mp-footer-right {
        font-size: 12px;
    }

    .mp-pro-tip-card { 
        flex-direction: column; 
        align-items: stretch; 
        padding: 16px;
        gap: 12px;
    }
    .mp-tip-btn { 
        width: 100%; 
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mp-header-actions {
        grid-template-columns: 1fr;
    }
    .mp-stats-grid {
        grid-template-columns: 1fr;
    }
    .mp-item-icon {
        width: 32px;
        height: 32px;
    }
    .mp-item-icon svg {
        width: 16px;
        height: 16px;
    }
    .mp-showcase-body {
        padding: 16px;
    }
    .mp-bottom-cta-card {
        padding: 36px 20px;
    }
    .mp-bottom-cta-card h2 {
        font-size: 26px;
    }
}

