/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    color: #ffffff;
}

/* Navigation Bar */
.navbar {
    background: #1a1a1a;
    border-bottom: 3px solid #8B5CF6;
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 20px 20px 0 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.navbar-brand .brand-text {
    font-family: 'BBH Sans Bogle', 'Arial Black', 'Arial Bold', sans-serif;
    font-size: 1.5em;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
}

.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 180px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav a:hover {
    background: #8B5CF6;
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar-nav a.active {
    background: #8B5CF6;
    color: #ffffff;
}

strong {
    color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #ffffff;
}

/* Header Styles */
header {
    background: #1a1a1a;
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #9F51FF;
}

.header-title {
    margin-bottom: 15px;
}

.unofficial-text {
    font-size: 1em;
    font-weight: 600;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.brand-name {
    font-size: 2.5em;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 5px;
    font-family: 'BBH Sans Bogle', 'Arial Black', 'Arial Bold', sans-serif;
    text-transform: uppercase;
}

.app-name {
    font-size: 3.5em;
    font-weight: 900;
    letter-spacing: 3px;
    font-family: 'BBH Sans Bartle', 'Arial Black', sans-serif;
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.back-link {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) translateX(-5px);
}

/* Info Box */
.info-box {
    background: #0f0f0f;
    border-left: 4px solid #9F51FF;
    padding: 20px;
    margin: 30px 40px;
    border-radius: 8px;
}

.info-box h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.info-box p {
    color: #ffffff;
}

.info-box .inline-link {
    color: #9F51FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-box .inline-link:hover {
    color: #b366ff;
    text-decoration: underline;
}

/* Form Styles */
.order-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.1em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #444;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #2d2d2d;
    color: #ffffff;
}

.form-group select option {
    background: #2d2d2d;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #9F51FF;
    box-shadow: 0 0 0 3px rgba(159, 81, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #aaa;
    font-size: 0.9em;
}

/* Button Styles */
.button-center {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    background: #9F51FF;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(159, 81, 255, 0.4);
    background: #b366ff;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: #9F51FF;
    padding: 15px 40px;
    border: 2px solid #9F51FF;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #9F51FF;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(159, 81, 255, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Results Summary */
.results-summary {
    background: #0f0f0f;
    padding: 30px 40px;
    border-bottom: 1px solid #444;
}

.results-summary h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

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

.detail-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.detail-item .label {
    display: block;
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 5px;
}

.detail-item .value {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: #ffffff;
}

/* Success Box */
.success-box {
    background: #0f0f0f;
    border-left: 4px solid #9F51FF;
    padding: 30px 40px;
    margin: 30px 40px;
    border-radius: 8px;
    border: 1px solid #444;
}

.success-box h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.success-box p {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Estimates Box */
.estimates-box {
    padding: 40px;
}

.estimates-box h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.gap-info {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Unified Estimate Card */
.unified-estimate-card {
    background: #0f0f0f;
    border-radius: 12px;
    padding: 40px;
    margin-top: 30px;
    border: 2px solid #444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.primary-estimate {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #444;
}

.primary-label {
    font-size: 1.5em;
    color: #9F51FF;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.primary-days {
    font-size: 4em;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.primary-date {
    font-size: 1.8em;
    font-weight: 600;
    color: #9F51FF;
    margin-bottom: 15px;
}

.primary-desc {
    color: #aaa;
    font-size: 1em;
}

.secondary-estimates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.secondary-estimate {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid;
}

.secondary-estimate.optimistic {
    border-left-color: #28a745;
}

.secondary-estimate.conservative {
    border-left-color: #ffc107;
}

.secondary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.secondary-label {
    font-size: 1.1em;
    color: #ffffff;
    font-weight: 700;
}

.secondary-badge {
    background: rgba(159, 81, 255, 0.2);
    color: #9F51FF;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 700;
}

.secondary-date {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.secondary-desc {
    color: #aaa;
    font-size: 0.85em;
}

/* Rates Info */
.rates-info {
    background: #0f0f0f;
    padding: 20px 40px;
    margin: 0 40px 40px;
    border-radius: 8px;
    border: 1px solid #444;
}

.rates-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.rates-info p {
    color: #ffffff;
}

.rates-info ul {
    margin-left: 20px;
    margin-top: 10px;
}

.rates-info li {
    margin-bottom: 5px;
    color: #ffffff;
}

/* Chart Section */
.chart-section {
    padding: 40px;
    border-top: 1px solid #444;
}

.chart-section h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.chart-section p {
    color: #ffffff;
}

.chart-container {
    position: relative;
    height: 400px;
    margin-top: 20px;
}

/* Progress Bar Styles */
.progress-container {
    margin-top: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1em;
    flex-wrap: wrap;
    gap: 10px;
}

.progress-label {
    color: #ffffff;
}

.progress-bar-wrapper {
    margin: 30px 0;
}

.progress-bar-bg {
    width: 100%;
    height: 40px;
    background: #2d2d2d;
    border-radius: 20px;
    border: 2px solid #9F51FF;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9F51FF 0%, #b366ff 100%);
    border-radius: 18px;
    transition: width 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(159, 81, 255, 0.5);
    position: relative;
    min-width: 60px;
}

.progress-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 1.1em;
}

.stat-item {
    color: #ffffff;
}

/* Error Box */
.error-box {
    background: #0f0f0f;
    border-left: 4px solid #9F51FF;
    padding: 30px 40px;
    margin: 30px 40px;
    border-radius: 8px;
    border: 1px solid #444;
}

.error-box h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.error-box p {
    color: #ffffff;
    font-size: 1.1em;
}

/* Major Disclaimer */
.major-disclaimer {
    background: #0f0f0f;
    border: 2px solid #444;
    padding: 30px 40px;
    margin: 30px 40px;
    border-radius: 8px;
}

.major-disclaimer h2 {
    color: #ffffff;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.major-disclaimer > p {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.6;
}

.official-info {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #9F51FF;
}

.official-info h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.official-info p {
    color: #ffffff;
    margin-bottom: 10px;
}

.official-info ul {
    margin-left: 20px;
    margin-top: 10px;
}

.official-info li {
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.6;
}

.official-info a {
    color: #9F51FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.official-info a:hover {
    color: #b366ff;
    text-decoration: underline;
}

.website-support {
    background: #0f0f0f;
    border-left: 4px solid #9F51FF;
    padding: 20px;
    margin: 30px 40px;
    border-radius: 8px;
}

.website-support p {
    color: #ffffff;
    font-size: 1em;
    margin: 0;
}

.website-support strong {
    color: #ffffff;
}

/* Disclaimer */
.disclaimer {
    background: #0f0f0f;
    border-left: 4px solid #9F51FF;
    padding: 20px 40px;
    margin: 40px 40px 0;
    border-radius: 8px;
    border: 1px solid #444;
}

.disclaimer h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.disclaimer ul {
    margin-left: 20px;
    color: #ffffff;
}

.disclaimer li {
    margin-bottom: 8px;
    color: #ffffff;
}

.delivery-calculator-info {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #9F51FF;
}

.delivery-calculator-info h4 {
    color: #9F51FF;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.delivery-calculator-info p {
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.delivery-calculator-info ol {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.delivery-calculator-info li {
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.6;
}

.disclaimer-link {
    color: #9F51FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.disclaimer-link:hover {
    color: #b366ff;
    text-decoration: underline;
}

.calculator-note {
    color: #aaa;
    font-size: 0.95em;
    font-style: italic;
    margin-top: 10px;
}

/* Shipped Link Section */
.shipped-link-section {
    text-align: center;
    padding: 30px 40px;
    border-top: 1px solid #444;
}

.shipped-link {
    display: inline-block;
    color: #9F51FF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 12px 30px;
    border: 2px solid #9F51FF;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 8px;
}

.shipped-link:hover {
    background: #9F51FF;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 81, 255, 0.3);
}

/* Footer */
footer {
    background: #0f0f0f;
    padding: 20px 40px;
    border-top: 1px solid #444;
    text-align: center;
}

footer p {
    color: #aaa;
    font-size: 0.9em;
}

footer h3 {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    footer {
        padding: 15px 20px;
        margin-top: 30px;
    }
    
    footer h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    
    footer p {
        font-size: 0.85em;
        line-height: 1.4;
    }
}

/* Action Buttons */
.action-buttons {
    padding: 40px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .navbar-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.2em;
        letter-spacing: 2px;
    }
    
    .navbar-logo {
        height: 45px;
        max-width: 150px;
    }
    
    .navbar-nav {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 15px;
        width: 100%;
        padding: 0 40px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .navbar-nav::-webkit-scrollbar {
        display: none;
    }
    
    .navbar-nav a {
        font-size: 12px;
        padding: 8px 16px;
        text-align: center;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .navbar-scroll-container {
        position: relative;
        width: 100%;
    }
    
    .navbar-scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #8B5CF6;
        color: white;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        font-size: 14px;
        font-weight: bold;
    }
    
    .navbar-scroll-arrow.left {
        left: 5px;
    }
    
    .navbar-scroll-arrow.right {
        right: 5px;
    }
    
    .navbar-scroll-arrow:hover {
        background: #7c3aed;
    }
    
    .navbar-scroll-arrow:disabled {
        background: #666;
        cursor: not-allowed;
    }

    .unofficial-text {
        font-size: 0.8em;
        letter-spacing: 1px;
    }

    .brand-name {
        font-size: 1.5em;
        letter-spacing: 4px;
    }

    .app-name {
        font-size: 1.8em;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1em;
    }

    .back-link {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
        transform: none;
    }

    .back-link:hover {
        transform: translateX(-5px);
    }

    .order-form,
    .chart-section,
    .estimates-box,
    .action-buttons {
        padding: 20px;
    }

    .info-box,
    .success-box,
    .error-box,
    .disclaimer,
    .rates-info,
    .website-support {
        margin: 20px;
        padding: 20px;
    }

    .major-disclaimer {
        margin: 20px;
        padding: 20px;
    }

    .major-disclaimer h2 {
        font-size: 1.3em;
    }

    .major-disclaimer > p {
        font-size: 1em;
    }

    .official-info {
        padding: 15px;
    }

    .results-summary {
        padding: 20px;
    }

    .unified-estimate-card {
        padding: 25px;
    }

    .primary-days {
        font-size: 3em;
    }

    .primary-date {
        font-size: 1.4em;
    }

    .secondary-estimates {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 300px;
    }

    .progress-info,
    .progress-stats {
        flex-direction: column;
        gap: 10px;
    }

    .progress-info {
        font-size: 0.9em;
    }

    .progress-bar-bg {
        height: 30px;
    }

    .progress-text {
        font-size: 0.9em;
    }
}

/* Mobile Action Buttons */
@media (max-width: 768px) {
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        margin-left: 0;
        margin-bottom: 0;
        padding: 14px 30px;
    }

    .btn-secondary {
        margin-top: 0;
    }
}

/* Shipped Orders Page Styles */
.shipped-header {
    text-align: center;
    padding: 40px;
    background: #0f0f0f;
    border-bottom: 3px solid #9F51FF;
}

.shipped-header h1 {
    color: #9F51FF;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.shipped-header p {
    color: #ffffff;
    font-size: 1.2em;
}

.shipped-orders-container {
    padding: 40px;
}

.shipped-card {
    background: #0f0f0f;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #444;
    transition: all 0.3s ease;
}

.shipped-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(159, 81, 255, 0.2);
}

.shipped-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.user-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #9F51FF;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-name {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 700;
}

.order-badge {
    color: #9F51FF;
    font-size: 0.9em;
    font-weight: 600;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
}

.status-badge.status-early {
    background: #28a745;
    color: #ffffff;
}

.status-badge.status-on-time {
    background: #9F51FF;
    color: #ffffff;
}

.status-badge.status-late {
    background: #ffc107;
    color: #1a1a1a;
}

.status-badge.status-unknown {
    background: #666;
    color: #ffffff;
}

.shipped-card.status-early {
    border-left: 4px solid #28a745;
}

.shipped-card.status-on-time {
    border-left: 4px solid #9F51FF;
}

.shipped-card.status-late {
    border-left: 4px solid #ffc107;
}

.shipped-card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.device-info {
    display: flex;
    gap: 10px;
}

.device-label {
    color: #aaa;
    font-weight: 600;
}

.device-value {
    color: #ffffff;
    font-weight: 700;
}

.date-info {
    display: flex;
    gap: 30px;
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-label {
    color: #aaa;
    font-size: 0.9em;
}

.date-value {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .shipped-orders-container {
        padding: 20px;
    }

    .shipped-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .date-info {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Congratulations Heading */
@media (max-width: 768px) {
    .shipped-header h1 {
        font-size: 2.2em !important;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.5s ease-out;
}

/* Prioritization Analysis Styles */
.prioritization-info {
    margin: 5px 0 15px 0;
    padding: 40px;
}

.prioritization-card {
    background: #0f0f0f;
    border-radius: 12px;
    padding: 40px;
    margin-top: 30px;
    border: 2px solid #444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.prioritization-header h2 {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.prioritization-summary {
    margin-bottom: 10px;
}

.analysis-method {
    margin-bottom: 20px;
    color: #aaa;
    font-style: italic;
}

.priority-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.priority-badge.high {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.priority-badge.medium {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.prioritization-details h4 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.priority-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.priority-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #333333;
    border-radius: 10px;
    border-left: 4px solid #666666;
    transition: all 0.3s ease;
}

.priority-item.current-model {
    border-left-color: #9F51FF;
    background: linear-gradient(135deg, #333333, #2a2a2a);
    box-shadow: 0 0 15px rgba(159, 81, 255, 0.3);
}

.priority-model {
    font-weight: 700;
    font-size: 1.1em;
    color: #ffffff;
}

.priority-stats {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trend-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.trend-badge.increasing {
    background: #4CAF50;
    color: white;
}

.trend-badge.decreasing {
    background: #f44336;
    color: white;
}

.trend-badge.stable {
    background: #2196F3;
    color: white;
}

.priority-multiplier {
    color: #9F51FF;
    font-weight: 700;
    font-size: 0.9em;
}

.dominance-score {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: 600;
}

.recent-units {
    color: #9F51FF;
    font-size: 0.9em;
    font-weight: 600;
}

.recent-cycles {
    margin-bottom: 25px;
}

.recent-cycles h4 {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.cycles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cycle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #2a2a2a;
    border-radius: 8px;
    border-left: 3px solid #666666;
}

.cycle-item.current-model {
    border-left-color: #9F51FF;
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
}

.cycle-model {
    font-weight: 700;
    color: #9F51FF;
    font-size: 1.1em;
}

.cycle-dates {
    color: #aaa;
    font-size: 0.9em;
}

.cycle-stats {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: 600;
}

.prioritization-explanation {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #444444;
}

.prioritization-explanation h4 {
    color: #9F51FF;
    font-size: 1.1em;
    margin-bottom: 12px;
    font-weight: 600;
}

.prioritization-explanation p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Mobile Responsive for Prioritization */
@media (max-width: 768px) {
    .prioritization-info {
        padding: 20px;
    }
    
    .prioritization-card {
        padding: 25px;
    }
    
    .priority-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .priority-stats {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .cycle-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

