* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fdfaf5;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #ffa500;
    padding-bottom: 10px;
}

h1 {
    color: #28220b;
    margin-bottom: 0;
    font-size: 28px;
    border-bottom: none;
    padding-bottom: 0;
    display: inline-block;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(40, 34, 11, 0.2);
    background: white;
    color: #28220b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.portal-link:hover {
    background: #f8f9fa;
    border-color: rgba(40, 34, 11, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.portal-link-icon {
    font-size: 1.15rem;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

}

.portal-link-text {
    line-height: 1;
}

@media screen and (max-width: 520px) {
    .portal-link-text {
        display: none;
    }
    .page-header {
        margin-bottom: 20px;
    }
    h1 {
        font-size: 20px;
    }
}

.submission-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.submission-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #28220b 0%, #4a3f15 100%);
    color: #ffa500;
    padding: 16px 24px;
    border-bottom: 4px solid #ffa500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    flex: 1;
}

.payment-badge-header {
    font-size: 24px;
    background: rgba(255, 165, 0, 0.1);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffa500;
}

.card-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.card-body {
    padding: 24px;
}

.submission-details-container {
    margin-bottom: 20px;
}

.submission-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f0f3f7;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #6d5d1d;
    min-width: 140px;
    font-size: 14px;
}

.detail-value {
    color: #28220b;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-accepted {
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.status-new {
    background: #fff9e6;
    color: #b38600;
    border: 1px solid #ffeeba;
}

.payment-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: #ffa500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28220b;
    font-size: 20px;
}

.payment-text {
    flex: 1;
}

.payment-amount {
    font-size: 24px;
    font-weight: 700;
    color: #28220b;
}

.payment-label {
    font-size: 13px;
    color: #6d5d1d;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #28220b;
    color: #ffa500;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #28220b;
}

.btn:hover {
    background: #4a3f15;
    color: #ffb733;
    border-color: #4a3f15;
}

.btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
}

.card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid #f0f3f7;
}

.btn-download {
    background: #ffa500;
    color: #28220b;
    border-color: #ffa500;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.btn-payment {
    background: #28220b;
    color: #ffa500;
    border-color: #28220b;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.btn-disabled {
    background: #e9ecef;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.btn-disabled:hover {
    background: #e9ecef;
    color: #6c757d;
    border-color: #dee2e6;
}

.btn-download:hover {
    background: #ffb733;
    border-color: #ffb733;
    color: #000;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}
