

/* Header */
.oe-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
}

.oe-btn-back {
    background: none;
    border: none;
    cursor: pointer;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.oe-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}


/* Dashboard Card */
.oe-dashboard-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 32px;
}

.oe-dash-title {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
}

.oe-dash-subtitle {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 20px 0;
}

.oe-text-green {
    color: #16A34A;
    font-weight: 700;
}

.oe-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
}

.oe-score-current {
    font-size: 28px;
    font-weight: 800;
    color: #16A34A;
    line-height: 1;
}

.oe-score-max {
    font-size: 16px;
    font-weight: 600;
    color: #94A3B8;
}

.oe-progress-icon svg {
    width: 24px;
    height: 24px;
}

.oe-progress-track {
    height: 10px;
    background-color: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.oe-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #14532D 0%, #16A34A 50%, #F97316 100%);
    transition: width 0.5s ease;
}

.oe-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
}

.oe-gold-text {
    color: #B48608;
    font-weight: 700;
}

/* Entries Section */
.oe-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #15803D;
    margin: 0 0 16px 0;
}

/* Tabs */
.oe-tabs {
    display: inline-flex;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    margin-bottom: 24px;
}

.oe-tab {
    padding: 8px 24px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

    .oe-tab.active {
        background-color: #4ADE80;
        color: #FFFFFF;
    }

/* Cards Grid */
.oe-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Single Card */
.oe-entry-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.oe-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.oe-card-id {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}

.oe-badge-active {
    background-color: #86EFAC;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.oe-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
}

.oe-card-body {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Product Table */
.oe-product-table {
    flex: 1;
    border: 1px solid #BBF7D0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.oe-pt-header, .oe-pt-row {
    display: flex;
    font-size: 12px;
    text-align: center;
}

.oe-pt-header {
    background-color: #F8FAFC;
    color: #64748B;
    font-weight: 600;
    border-bottom: 1px solid #BBF7D0;
}

.oe-pt-row {
    color: #15803D;
    font-weight: 700;
    border-bottom: 1px solid #BBF7D0;
}

    .oe-pt-header div, .oe-pt-row div {
        flex: 1;
        padding: 8px 4px;
    }

.oe-border-left {
    border-left: 1px solid #BBF7D0;
}

.oe-pt-total {
    background-color: #F0FDF4;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Points Box */
.oe-points-box {
    background: linear-gradient(180deg, #4ADE80 0%, #16A34A 100%);
    border-radius: 8px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-width: 100px;
}

    .oe-points-box span {
        font-size: 11px;
        font-weight: 500;
        margin: 6px 0 2px 0;
    }

.oe-points-score strong {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.oe-points-score small {
    font-size: 12px;
    font-weight: 600;
    margin-left: 2px;
}

/* View Details Button */
.oe-btn-view {
    width: 100%;
    padding: 10px;
    background-color: #2D72D9;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .oe-btn-view:hover {
        background-color: #235BB3;
    }

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .oe-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .oe-header {
        padding: 16px 20px;
    }

    .oe-main {
        padding: 0 20px 32px 20px;
    }

    .oe-cards-grid {
        grid-template-columns: 1fr;
    }

    .oe-tabs {
        display: flex;
        width: 100%;
    }

    .oe-tab {
        flex: 1;
        padding: 8px 0;
        text-align: center;
    }
}

