/* =========================================================
   PUBLISHER MY PUBLICATIONS
   ========================================================= */

.publisher-page {
    min-height: 70vh;
    padding: 50px 20px 80px;
    background: #f7f8fa;
}

.publisher-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.publisher-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
}

.publisher-page-header h1 {
    margin: 0 0 8px;
    color: #202124;
    font-size: 34px;
    font-weight: 700;
}

.publisher-page-header p {
    margin: 0;
    color: #6c757d;
}

.publisher-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
}

.publisher-breadcrumb a {
    color: #198754;
    text-decoration: none;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.publisher-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    background: #198754;
    color: #fff;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.publisher-submit-btn:hover {
    background: #157347;
    color: #fff;
    text-decoration: none;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.publication-statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.publication-stat-card {
    padding: 20px;

    background: #fff;

    border: 1px solid #e4e7eb;
    border-radius: 12px;

    text-align: center;
}

.publication-stat-card .stat-number {
    display: block;

    font-size: 28px;
    font-weight: 700;

    color: #333;
}

.publication-stat-card .stat-label {
    display: block;

    margin-top: 5px;

    color: #777;
    font-size: 13px;
}

.publication-stat-card.pending .stat-number {
    color: #856404;
}

.publication-stat-card.approved .stat-number {
    color: #198754;
}

.publication-stat-card.rejected .stat-number {
    color: #dc3545;
}


/* =========================================================
   PUBLICATION LIST
   ========================================================= */

.publisher-publication-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.publisher-publication-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 25px;

    background: #fff;

    border: 1px solid #e4e7eb;
    border-radius: 14px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);

    transition: 0.2s ease;
}

.publisher-publication-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.publisher-publication-info {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   STATUS
   ========================================================= */

.publication-list-top {
    margin-bottom: 10px;
}

.publisher-status {
    display: inline-flex;

    padding: 5px 11px;

    border-radius: 50px;

    background: #e9ecef;
    color: #555;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.publisher-status.pending {
    background: #fff3cd;
    color: #856404;
}

.publisher-status.approved {
    background: #d1e7dd;
    color: #0f5132;
}

.publisher-status.rejected {
    background: #f8d7da;
    color: #842029;
}


/* =========================================================
   TITLE
   ========================================================= */

.publisher-publication-card h2 {
    margin: 0 0 7px;

    color: #212529;

    font-size: 21px;
    line-height: 1.4;
}

.publication-author {
    margin-bottom: 18px;

    color: #666;

    font-size: 14px;
}


/* =========================================================
   META
   ========================================================= */

.publisher-publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.publisher-publication-meta > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.publisher-publication-meta span {
    color: #999;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.publisher-publication-meta strong {
    color: #333;
    font-size: 14px;
}


/* =========================================================
   SUBMITTED
   ========================================================= */

.publication-submitted {
    margin-top: 18px;

    color: #999;

    font-size: 13px;
}


/* =========================================================
   REJECTION REASON
   ========================================================= */

.rejection-reason {
    margin-top: 18px;
    padding: 15px;

    background: #fff5f5;

    border-left: 3px solid #dc3545;
    border-radius: 6px;
}

.rejection-reason strong {
    display: block;

    margin-bottom: 5px;

    color: #842029;
    font-size: 13px;
}

.rejection-reason p {
    margin: 0;

    color: #842029;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   VIEW BUTTON
   ========================================================= */

.publisher-publication-action {
    flex-shrink: 0;
}

.publisher-view-btn {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    padding: 10px 17px;

    background: #198754;
    color: #fff;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.publisher-view-btn:hover {
    background: #157347;
    color: #fff;
    text-decoration: none;
}

.publisher-view-btn span {
    font-size: 18px;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.publisher-empty-state {
    padding: 70px 25px;

    background: #fff;

    border: 1px solid #e4e7eb;
    border-radius: 14px;

    text-align: center;
}

.publisher-empty-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    background: #f1f3f5;

    border-radius: 50%;

    font-size: 28px;
}

.publisher-empty-state h2 {
    margin: 0 0 8px;

    font-size: 24px;
}

.publisher-empty-state p {
    margin: 0 0 25px;

    color: #777;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .publisher-page {
        padding: 30px 15px 60px;
    }

    .publisher-page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .publisher-page-header h1 {
        font-size: 28px;
    }

    .publisher-submit-btn {
        width: 100%;
    }

    .publication-statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .publisher-publication-card {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .publisher-publication-action {
        width: 100%;
    }

    .publisher-view-btn {
        width: 100%;
        justify-content: center;
    }

    .publisher-publication-meta {
        gap: 15px;
    }
}


@media (max-width: 450px) {

    .publication-statistics {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .publication-stat-card {
        padding: 15px 10px;
    }

    .publication-stat-card .stat-number {
        font-size: 24px;
    }

}