/* ============================
   ARTICLE.CSS - Article Views Styles
   International Science Journal
   ============================ */

/* ============================
   ARTICLE LIST PAGE
   ============================ */
.article-list-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.article-list-card .card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 20px 25px;
}

.article-list-card .card-header h4 {
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-table {
    margin: 0;
}

.article-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.article-table thead th {
    font-weight: 600;
    color: #333;
    padding: 15px;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.article-table tbody tr {
    transition: all 0.3s ease;
}

.article-table tbody tr:hover {
    background: rgba(42,82,152,0.05);
}

.article-table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.article-title-link {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-title-link:hover {
    color: #2a5298;
    text-decoration: underline;
}

/* ============================
   ARTICLE DETAIL PAGE
   ============================ */
.article-detail-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    max-width: 900px;
    margin: 0 auto;
}

.article-detail-card .card-body {
    padding: 35px;
}

.article-category-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: #2a5298;
}

.article-meta b {
    color: #333;
}

.article-section-title {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.article-abstract {
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.article-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #eee;
}

.article-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================
   ARTICLE CREATE PAGE
   ============================ */
.article-create-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    max-width: 800px;
    margin: 0 auto;
}

.article-create-card .card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    padding: 25px;
    text-align: center;
}

.article-create-card .card-header h4 {
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.article-create-card .card-body {
    padding: 35px;
}

.article-create-card .card-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    color: #666;
    font-size: 0.9rem;
}

.article-form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.article-form-label .text-danger {
    color: #dc3545;
}

.article-submit-btn {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.article-submit-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #198754 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(25,135,84,0.4);
}

.file-upload-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

/* ============================
   ARTICLE PENDING PAGE
   ============================ */
.pending-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.pending-card .card-header {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
    color: #333;
    padding: 20px 25px;
}

.pending-card .card-header h4 {
    font-weight: 700;
    margin: 0;
    margin-bottom: 5px;
}

.pending-card .card-header small {
    opacity: 0.8;
}

.pending-table {
    margin: 0;
}

.pending-table thead {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
}

.pending-table thead th {
    font-weight: 600;
    color: #333;
    padding: 15px;
    border-bottom: 2px solid #ffc107;
}

.pending-table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.pending-actions {
    display: flex;
    gap: 5px;
}

.pending-actions .btn {
    padding: 8px 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pending-actions .btn-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
}

.pending-actions .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
}

.pending-card .card-footer {
    background: #fff8e1;
    padding: 15px 25px;
    color: #856404;
}

/* ============================
   EMPTY STATE
   ============================ */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-text {
    color: #666;
    font-size: 1.1rem;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 992px) {
    .article-table,
    .pending-table {
        font-size: 0.9rem;
    }

    .article-table thead th,
    .article-table tbody td,
    .pending-table thead th,
    .pending-table tbody td {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .article-detail-card .card-body,
    .article-create-card .card-body {
        padding: 20px;
    }

    .article-title {
        font-size: 1.4rem;
    }

    .article-actions {
        flex-direction: column;
    }

    .article-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pending-actions {
        flex-direction: column;
    }
}
