/* SUBMISSIONS LAYOUT */
.submissions-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.submissions-sidebar {
    position: sticky;
    top: 100px;
}

.submissions-sidebar .filter-box {
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    color: #1F3A70;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.filter-group ul {
    list-style: none;
}

.filter-group li {
    margin-bottom: 8px;
    font-size: 13px;
}

.filter-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

/* SUBMISSION CARDS */
.submission-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.submission-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #D32F2F;
}

.submission-header h2 {
    font-size: 22px;
    color: #1F3A70;
    margin-bottom: 12px;
    line-height: 1.3;
}

.submission-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-date {
    background-color: #f0f0f0;
    color: #666;
}

.badge-status {
    color: white;
}

.status-pending {
    background-color: #FF9800;
}

.status-rejected {
    background-color: #D32F2F;
}

.status-inaction {
    background-color: #9C27B0;
}

.submission-details {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.detail-row {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    font-size: 14px;
}

.detail-row .label {
    font-weight: 700;
    color: #1F3A70;
    min-width: 150px;
}

.detail-row span:last-child {
    color: #666;
}

.submission-content {
    margin: 25px 0;
}

.submission-content h3 {
    font-size: 16px;
    color: #2C5AA0;
    margin: 20px 0 12px 0;
    font-weight: 700;
}

.submission-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: justify;
}

.submission-content .content-list {
    margin: 15px 0 20px 0;
    padding-left: 20px;
}

.submission-content .content-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    list-style-type: disc;
}

.submission-attachments {
    background-color: #f0f7ff;
    border-left: 4px solid #2C5AA0;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.submission-attachments h3 {
    font-size: 14px;
    color: #1F3A70;
    margin-bottom: 12px;
    font-weight: 700;
}

.submission-attachments ul {
    list-style: none;
}

.submission-attachments li {
    margin-bottom: 8px;
    font-size: 13px;
}

.submission-attachments a {
    color: #2C5AA0;
    text-decoration: none;
    font-weight: 600;
}

.submission-attachments a:hover {
    text-decoration: underline;
}

.submission-footer {
    background-color: #f9f9f9;
    border-left: 4px solid #D32F2F;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.submission-footer h3 {
    font-size: 15px;
    color: #1F3A70;
    margin-bottom: 12px;
    font-weight: 700;
}

.submission-footer p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.submission-footer .btn-primary-small {
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .submissions-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .submissions-sidebar {
        position: static;
    }

    .filter-group {
        display: inline-block;
        margin-right: 30px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .submission-card {
        padding: 20px;
    }

    .submission-header h2 {
        font-size: 18px;
    }

    .submission-meta {
        flex-direction: column;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-row .label {
        min-width: auto;
    }
}