/* assets/css/pages/cargo-calc.css - Cargo Desi Simulator Styles */

:root {
    --cargo-dark: #0f172a;
    --cargo-panel-bg: rgba(30, 41, 59, 0.6);
    --cargo-border: rgba(255, 255, 255, 0.1);
    --cargo-primary: #3b82f6;
    --cargo-text: #f8fafc;
}

.cargo-page {
    background-color: var(--cargo-dark);
    background-image:
        radial-gradient(ellipse at center, rgba(30, 41, 59, 0.8) 0%, var(--cargo-dark) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 80vh;
    padding: 120px 0 80px 0;
    color: var(--cargo-text);
}

.cargo-header {
    margin-bottom: 40px;
}

.cargo-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.cargo-title span {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cargo-desc {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* CARDS */
.cargo-card {
    background: var(--cargo-panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--cargo-border);
    padding: 35px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.panel-subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

/* FORM */
.cargo-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.cargo-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.cargo-input:focus {
    outline: none;
    border-color: var(--cargo-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.cargo-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    border: none;
    transition: 0.3s;
}

.cargo-btn-primary:hover {
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* DESI RESULT BOX */
.desi-result-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 25px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.desi-label {
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.desi-value {
    font-size: 4rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* COMPARISON LIST */
.comp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.comp-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.comp-item.erpin-premium {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.2);
}

.comp-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-right: 20px;
}

.comp-details {
    flex-grow: 1;
}

.comp-details h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: #f8fafc;
}

.comp-price {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: right;
    min-width: 110px;
}

.price-high {
    color: #f87171;
}

.price-mid {
    color: #facc15;
}

.price-best {
    color: #34d399;
    font-size: 1.8rem;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

.saving-alert {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 20px;
}

@media (max-width: 768px) {
    .cargo-page {
        padding: 140px 0 50px 0;
    }

    .cargo-title {
        font-size: 2.3rem;
    }

    .comp-item {
        flex-direction: column;
        text-align: center;
    }

    .comp-icon {
        margin: 0 auto 15px auto;
    }

    .comp-price {
        margin-top: 15px;
        font-size: 1.8rem;
    }

    .cargo-card {
        padding: 25px;
    }
}