.rp-my-account-wrapper {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
}

.rp-my-account-wrapper h2 {
    margin: 0 0 24px 0;
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    border-bottom: 3px solid #10b981;
    padding-bottom: 12px;
}

.rp-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.rp-tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

.rp-tab-button:hover {
    color: #10b981;
}

.rp-tab-button.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.rp-tab-content {
    display: none;
}

.rp-no-data {
    padding: 40px;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
}

.rp-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.rp-orders-table thead {
    background: #f9fafb;
}

.rp-orders-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.rp-orders-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.rp-orders-table tr:last-child td {
    border-bottom: none;
}

.rp-orders-table tr:hover {
    background: #f9fafb;
}

.rp-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.rp-status-completed,
.rp-status-processing {
    background: #d1fae5;
    color: #065f46;
}

.rp-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.rp-status-cancelled,
.rp-status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.rp-tracking-info {
    font-size: 14px;
}

.rp-tracking-info strong {
    color: #1f2937;
}

.rp-tracking-info code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.rp-no-tracking {
    color: #9ca3af;
    font-style: italic;
}

.rp-file-claim-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rp-file-claim-btn:hover {
    background: #059669;
}

.rp-cannot-claim {
    color: #9ca3af;
    font-size: 13px;
}

.rp-claims-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rp-claim-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rp-claim-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.rp-claim-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rp-claim-title h3 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
}

.rp-claim-date {
    color: #6b7280;
    font-size: 14px;
}

.rp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.rp-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.rp-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.rp-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.rp-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.rp-claim-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-claim-info strong {
    color: #374151;
}

.rp-claim-info p {
    margin: 4px 0 0 0;
    color: #6b7280;
}

.rp-image-gallery {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.rp-image-gallery a {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.rp-image-gallery a:hover {
    border-color: #10b981;
    transform: scale(1.05);
}

.rp-image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-claim-resolution,
.rp-claim-rejection {
    background: #f9fafb;
    padding: 16px;
    border-radius: 6px;
    margin-top: 8px;
}

.rp-claim-resolution strong,
.rp-claim-rejection strong {
    color: #1f2937;
}

.rp-reshipment-tracking {
    margin-top: 12px;
}

.rp-reshipment-tracking code {
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    display: inline-block;
    margin-top: 4px;
}

.rp-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.rp-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 32px;
    border: none;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.rp-modal-close {
    color: #9ca3af;
    float: right;
    font-size: 32px;
    font-weight: 300;
    line-height: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rp-modal-close:hover {
    color: #1f2937;
}

.rp-modal-content h3 {
    margin: 0 0 24px 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
}

.rp-form-group {
    margin-bottom: 20px;
}

.rp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.rp-form-group .required {
    color: #ef4444;
}

.rp-form-group select,
.rp-form-group textarea,
.rp-form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.rp-form-group select:focus,
.rp-form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.rp-form-group .description {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #6b7280;
}

#rp-image-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.rp-preview-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.rp-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rp-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

#rp-claim-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
}

#rp-claim-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

#rp-claim-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

@media (max-width: 768px) {
    .rp-orders-table {
        font-size: 14px;
    }

    .rp-orders-table th,
    .rp-orders-table td {
        padding: 8px;
    }

    .rp-claim-header {
        flex-direction: column;
        gap: 12px;
    }

    .rp-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 24px;
    }
}
