.jsi-portal-wrap {
    max-width: 900px;
    margin: 2rem auto;
    font-family: 'Space Grotesk', Arial, sans-serif;
    color: #1a1a1a;
}
.jsi-portal-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
}
.jsi-portal-nav a { text-decoration: none; color: #555; font-weight: 600; }
.jsi-portal-nav a.active { color: #7a2fc9; }
.jsi-portal-user { margin-left: auto; color: #888; font-size: .9rem; }

.jsi-alert { padding: .8rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.jsi-alert-success { background: #eafaf0; color: #1e7a45; border: 1px solid #b9ecd0; }
.jsi-alert-error { background: #fdecea; color: #a3312a; border: 1px solid #f5c6c2; }

.jsi-order-list { display: flex; flex-direction: column; gap: 1rem; }
.jsi-order-card {
    display: block;
    padding: 1.2rem 1.4rem;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: .2s;
}
.jsi-order-card:hover { border-color: #ffc600; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.jsi-order-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; }
.jsi-order-card-bottom { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .9rem; }
.jsi-muted { color: #888; font-size: .9rem; }

.jsi-status-badge {
    display: inline-block;
    padding: .25rem .8rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #eee;
    color: #555;
}
.jsi-status-pending_payment { background: #fff4d6; color: #9a6d00; }
.jsi-status-in_production   { background: #e6f0ff; color: #1c4fa3; }
.jsi-status-in_revision     { background: #fdeee0; color: #b4530f; }
.jsi-status-delivered       { background: #eafaf0; color: #1e7a45; }
.jsi-status-completed       { background: #ecebff; color: #4b3ccb; }
.jsi-status-cancelled       { background: #fdecea; color: #a3312a; }

.jsi-progress-track { background: #eee; border-radius: 20px; height: 10px; overflow: hidden; }
.jsi-progress-fill { background: linear-gradient(90deg, #25003e, #ffc600); height: 100%; border-radius: 20px; transition: width .3s; }

.jsi-order-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }

.jsi-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
@media (max-width: 782px) { .jsi-grid-2 { grid-template-columns: 1fr; } }

.jsi-panel { border: 1px solid #e5e5e5; border-radius: 10px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.jsi-panel h3 { margin-top: 0; }

.jsi-detail-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.jsi-detail-table th { text-align: left; color: #888; font-weight: 600; padding: .3rem 0; width: 40%; }
.jsi-detail-table td { padding: .3rem 0; }

.jsi-bank-details { background: #faf7ff; border: 1px solid #e6dcf7; border-radius: 8px; padding: 1rem; margin: .8rem 0; }

.jsi-messages { max-height: 280px; overflow-y: auto; margin-bottom: .8rem; }
.jsi-message { padding: .6rem 0; border-bottom: 1px solid #f0f0f0; }
.jsi-message-admin strong { color: #7a2fc9; }

.jsi-form label { font-weight: 600; }
.jsi-form input[type="text"], .jsi-form input[type="email"], .jsi-form select, .jsi-form textarea {
    padding: .6rem; border: 1px solid #ddd; border-radius: 6px; margin-top: .2rem;
}

.jsi-review-actions { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }

.btn { display: inline-block; padding: .75rem 1.6rem; border-radius: 6px; font-weight: 700; cursor: pointer; border: none; text-decoration: none; }
.btn-gold { background: #ffc600; color: #0b0014; }
.btn-outline { background: transparent; border: 2px solid #ddd; color: #333; }
