/**
 * Dublin Silver Returns Manager - Public Styles
 * Styles for customer-facing pages
 * 
 * @package Dublin_Silver_Returns
 * @version 1.0.0
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --dsr-primary: #2C5F2D;
    --dsr-primary-dark: #1a3d1b;
    --dsr-primary-light: #97BC62;
    --dsr-secondary: #FF8C42;
    --dsr-gold: #D4AF37;
    
    --dsr-success: #059669;
    --dsr-success-bg: #d1fae5;
    --dsr-warning: #F59E0B;
    --dsr-warning-bg: #fef3c7;
    --dsr-danger: #DC2626;
    --dsr-danger-bg: #fee2e2;
    --dsr-info: #3B82F6;
    --dsr-info-bg: #dbeafe;
    
    --dsr-text-dark: #1F2937;
    --dsr-text: #374151;
    --dsr-text-light: #6B7280;
    --dsr-border: #E5E7EB;
    --dsr-bg: #F3F4F6;
    --dsr-white: #FFFFFF;
}

/* ==========================================================================
   My Account Returns List
   ========================================================================== */
.dsr-returns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.dsr-returns-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--dsr-text-dark);
}

.dsr-start-return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dsr-secondary);
    color: var(--dsr-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.dsr-start-return-btn:hover {
    background: #e67d3a;
    color: var(--dsr-white);
    transform: translateY(-1px);
}

/* Credit Balance Banner */
.dsr-credit-banner {
    background: linear-gradient(135deg, var(--dsr-primary) 0%, var(--dsr-primary-light) 100%);
    color: var(--dsr-white);
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dsr-credit-banner-info h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.dsr-credit-banner-amount {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.dsr-credit-banner-link {
    color: var(--dsr-white);
    text-decoration: underline;
    font-size: 14px;
}

/* Empty State */
.dsr-empty-state {
    text-align: center;
    padding: 60px 40px;
    background: var(--dsr-bg);
    border-radius: 12px;
}

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

.dsr-empty-state h3 {
    font-size: 20px;
    color: var(--dsr-text-dark);
    margin: 0 0 8px 0;
}

.dsr-empty-state p {
    color: var(--dsr-text-light);
    margin: 0 0 24px 0;
}

/* Returns Grid */
.dsr-returns-grid {
    display: grid;
    gap: 20px;
}

/* Return Card */
.dsr-return-card {
    background: var(--dsr-white);
    border: 1px solid var(--dsr-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.dsr-return-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dsr-return-card-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--dsr-border);
}

.dsr-return-card-id {
    font-size: 18px;
    font-weight: 700;
    color: var(--dsr-text-dark);
    margin: 0 0 4px 0;
}

.dsr-return-card-order {
    font-size: 14px;
    color: var(--dsr-text-light);
}

.dsr-return-card-order a {
    color: var(--dsr-primary);
    text-decoration: none;
}

.dsr-return-card-order a:hover {
    text-decoration: underline;
}

/* Status Badge */
.dsr-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
}

.dsr-status-pending {
    background: var(--dsr-warning-bg);
    color: #d97706;
}

.dsr-status-label_sent,
.dsr-status-shipped {
    background: var(--dsr-info-bg);
    color: #2563eb;
}

.dsr-status-received,
.dsr-status-inspecting,
.dsr-status-manager_review {
    background: #e0e7ff;
    color: #4338ca;
}

.dsr-status-approved,
.dsr-status-completed {
    background: var(--dsr-success-bg);
    color: var(--dsr-success);
}

.dsr-status-rejected {
    background: var(--dsr-danger-bg);
    color: var(--dsr-danger);
}

/* Return Card Body */
.dsr-return-card-body {
    padding: 20px 24px;
}

.dsr-return-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}

.dsr-return-meta-item {
    font-size: 14px;
}

.dsr-return-meta-item strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dsr-text-light);
    margin-bottom: 4px;
}

.dsr-return-meta-item span {
    color: var(--dsr-text-dark);
}

/* Method Badge */
.dsr-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.dsr-method-credit {
    background: rgba(44, 95, 45, 0.1);
    color: var(--dsr-primary);
}

.dsr-method-refund {
    background: var(--dsr-bg);
    color: var(--dsr-text);
}

/* Progress Tracker */
.dsr-progress-tracker {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    position: relative;
}

.dsr-progress-tracker::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--dsr-border);
}

.dsr-progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dsr-progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dsr-white);
    border: 2px solid var(--dsr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--dsr-text-light);
}

.dsr-progress-step.completed .dsr-progress-dot {
    background: var(--dsr-success);
    border-color: var(--dsr-success);
    color: var(--dsr-white);
}

.dsr-progress-step.current .dsr-progress-dot {
    border-color: var(--dsr-primary);
    color: var(--dsr-primary);
    animation: dsr-pulse 2s infinite;
}

@keyframes dsr-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(44, 95, 45, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(44, 95, 45, 0); }
}

.dsr-progress-label {
    font-size: 11px;
    color: var(--dsr-text-light);
    text-align: center;
}

.dsr-progress-step.completed .dsr-progress-label,
.dsr-progress-step.current .dsr-progress-label {
    color: var(--dsr-text);
    font-weight: 500;
}

/* Rejection Notice */
.dsr-rejection-notice {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--dsr-danger-bg);
    border-left: 4px solid var(--dsr-danger);
    border-radius: 4px;
    font-size: 14px;
    color: #991b1b;
}

/* Return Card Footer */
.dsr-return-card-footer {
    padding: 16px 24px;
    background: var(--dsr-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dsr-return-card-footer a {
    color: var(--dsr-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.dsr-return-card-footer a:hover {
    text-decoration: underline;
}

.dsr-view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--dsr-primary);
    color: var(--dsr-white) !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    transition: background 0.2s;
}

.dsr-view-details-btn:hover {
    background: var(--dsr-primary-dark);
}

/* ==========================================================================
   Store Credit Page
   ========================================================================== */
.dsr-credit-page-header {
    margin-bottom: 32px;
}

.dsr-credit-page-header h2 {
    margin: 0;
    font-size: 24px;
}

/* Balance Card */
.dsr-balance-card {
    background: linear-gradient(135deg, var(--dsr-primary) 0%, var(--dsr-primary-light) 100%);
    color: var(--dsr-white);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.dsr-balance-main {
    text-align: center;
    margin-bottom: 24px;
}

.dsr-balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.dsr-balance-amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.dsr-balance-pending {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
}

.dsr-balance-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dsr-balance-stat {
    text-align: center;
}

.dsr-balance-stat-value {
    font-size: 20px;
    font-weight: 600;
}

.dsr-balance-stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* How to Use Section */
.dsr-how-to-use {
    background: var(--dsr-white);
    border: 1px solid var(--dsr-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.dsr-how-to-use h3 {
    font-size: 18px;
    margin: 0 0 20px 0;
}

.dsr-use-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dsr-use-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dsr-use-step-number {
    width: 32px;
    height: 32px;
    background: var(--dsr-primary);
    color: var(--dsr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.dsr-use-step-content strong {
    display: block;
    font-size: 14px;
    color: var(--dsr-text-dark);
    margin-bottom: 4px;
}

.dsr-use-step-content span {
    font-size: 13px;
    color: var(--dsr-text-light);
}

/* Transaction History */
.dsr-transactions {
    background: var(--dsr-white);
    border: 1px solid var(--dsr-border);
    border-radius: 12px;
    overflow: hidden;
}

.dsr-transactions-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--dsr-border);
}

.dsr-transactions-header h3 {
    margin: 0;
    font-size: 18px;
}

.dsr-transactions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dsr-transaction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--dsr-border);
}

.dsr-transaction-item:last-child {
    border-bottom: none;
}

.dsr-transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.dsr-transaction-icon.earned {
    background: var(--dsr-success-bg);
    color: var(--dsr-success);
}

.dsr-transaction-icon.used {
    background: var(--dsr-info-bg);
    color: var(--dsr-info);
}

.dsr-transaction-icon.adjusted {
    background: var(--dsr-warning-bg);
    color: var(--dsr-warning);
}

.dsr-transaction-icon.expired,
.dsr-transaction-icon.reversed {
    background: var(--dsr-danger-bg);
    color: var(--dsr-danger);
}

.dsr-transaction-details {
    flex: 1;
    min-width: 0;
}

.dsr-transaction-description {
    font-size: 14px;
    color: var(--dsr-text-dark);
    margin-bottom: 4px;
}

.dsr-transaction-meta {
    font-size: 12px;
    color: var(--dsr-text-light);
}

.dsr-transaction-meta a {
    color: var(--dsr-primary);
    text-decoration: none;
}

.dsr-transaction-meta a:hover {
    text-decoration: underline;
}

.dsr-transaction-amount {
    text-align: right;
}

.dsr-transaction-value {
    font-size: 16px;
    font-weight: 600;
}

.dsr-transaction-value.positive {
    color: var(--dsr-success);
}

.dsr-transaction-value.negative {
    color: var(--dsr-danger);
}

.dsr-transaction-balance {
    font-size: 12px;
    color: var(--dsr-text-light);
}

/* ==========================================================================
   Return Form
   ========================================================================== */
.dsr-return-form-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Progress Indicator */
.dsr-form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.dsr-form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--dsr-border);
}

.dsr-form-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dsr-form-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dsr-white);
    border: 2px solid var(--dsr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--dsr-text-light);
}

.dsr-form-step.completed .dsr-form-step-number {
    background: var(--dsr-success);
    border-color: var(--dsr-success);
    color: var(--dsr-white);
}

.dsr-form-step.active .dsr-form-step-number {
    border-color: var(--dsr-primary);
    color: var(--dsr-primary);
}

.dsr-form-step-label {
    font-size: 12px;
    color: var(--dsr-text-light);
    text-align: center;
    max-width: 80px;
}

.dsr-form-step.completed .dsr-form-step-label,
.dsr-form-step.active .dsr-form-step-label {
    color: var(--dsr-text);
    font-weight: 500;
}

/* Step Content */
.dsr-step-content {
    background: var(--dsr-white);
    border: 1px solid var(--dsr-border);
    border-radius: 12px;
    padding: 32px;
}

.dsr-step-title {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: var(--dsr-text-dark);
}

.dsr-step-description {
    font-size: 14px;
    color: var(--dsr-text-light);
    margin: 0 0 24px 0;
}

/* Order Selection */
.dsr-order-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dsr-order-option {
    border: 2px solid var(--dsr-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.dsr-order-option:hover {
    border-color: var(--dsr-primary-light);
}

.dsr-order-option.selected {
    border-color: var(--dsr-primary);
    background: rgba(44, 95, 45, 0.05);
}

.dsr-order-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dsr-order-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--dsr-text-dark);
}

.dsr-order-date {
    font-size: 14px;
    color: var(--dsr-text-light);
}

.dsr-order-items-preview {
    font-size: 14px;
    color: var(--dsr-text);
    margin-bottom: 8px;
}

.dsr-order-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dsr-order-total {
    font-weight: 600;
    color: var(--dsr-text-dark);
}

.dsr-days-remaining {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 9999px;
}

.dsr-days-remaining.plenty {
    background: var(--dsr-success-bg);
    color: var(--dsr-success);
}

.dsr-days-remaining.warning {
    background: var(--dsr-warning-bg);
    color: #d97706;
}

.dsr-days-remaining.urgent {
    background: var(--dsr-danger-bg);
    color: var(--dsr-danger);
}

/* Item Selection */
.dsr-item-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dsr-item-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--dsr-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dsr-item-option:hover {
    border-color: var(--dsr-primary-light);
}

.dsr-item-option.selected {
    border-color: var(--dsr-primary);
    background: rgba(44, 95, 45, 0.05);
}

.dsr-item-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.dsr-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.dsr-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dsr-item-details {
    flex: 1;
    min-width: 0;
}

.dsr-item-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--dsr-text-dark);
    margin-bottom: 4px;
}

.dsr-item-meta {
    font-size: 13px;
    color: var(--dsr-text-light);
}

.dsr-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--dsr-text-dark);
}

.dsr-select-all {
    padding-top: 16px;
    border-top: 1px solid var(--dsr-border);
    margin-top: 12px;
}

/* Return Value Summary */
.dsr-return-value {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--dsr-bg);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dsr-return-value-label {
    font-size: 14px;
    color: var(--dsr-text);
}

.dsr-return-value-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--dsr-primary);
}

/* Reason Selection */
.dsr-reason-select {
    margin-bottom: 20px;
}

.dsr-reason-select select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--dsr-border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--dsr-text-dark);
    background: var(--dsr-white);
}

.dsr-reason-details textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 16px;
    border: 1px solid var(--dsr-border);
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
}

/* Photo Upload */
.dsr-photo-dropzone {
    border: 2px dashed var(--dsr-border);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.dsr-photo-dropzone:hover {
    border-color: var(--dsr-primary);
    background: rgba(44, 95, 45, 0.02);
}

.dsr-photo-dropzone.dragover {
    border-color: var(--dsr-primary);
    background: rgba(44, 95, 45, 0.05);
}

.dsr-dropzone-icon {
    font-size: 48px;
    color: var(--dsr-text-light);
    margin-bottom: 12px;
}

.dsr-dropzone-text {
    font-size: 16px;
    color: var(--dsr-text);
    margin-bottom: 8px;
}

.dsr-dropzone-hint {
    font-size: 13px;
    color: var(--dsr-text-light);
}

.dsr-photo-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.dsr-photo-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dsr-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dsr-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--dsr-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsr-photo-tips {
    padding: 16px;
    background: var(--dsr-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--dsr-text);
}

.dsr-photo-tips strong {
    display: block;
    margin-bottom: 8px;
}

.dsr-photo-tips ul {
    margin: 0;
    padding-left: 20px;
}

.dsr-photo-tips li {
    margin-bottom: 4px;
}

/* Return Method Selection */
.dsr-method-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dsr-method-option {
    border: 2px solid var(--dsr-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.dsr-method-option:hover {
    border-color: var(--dsr-primary-light);
}

.dsr-method-option.selected {
    border-color: var(--dsr-primary);
}

.dsr-method-option.recommended {
    position: relative;
}

.dsr-method-option.recommended::before {
    content: 'Recommended';
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--dsr-secondary);
    color: var(--dsr-white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
}

.dsr-method-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dsr-method-radio {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.dsr-method-info {
    flex: 1;
}

.dsr-method-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dsr-text-dark);
    margin-bottom: 4px;
}

.dsr-method-description {
    font-size: 14px;
    color: var(--dsr-text-light);
}

.dsr-method-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--dsr-primary);
}

.dsr-method-amount .bonus {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--dsr-success);
}

.dsr-method-features {
    padding: 16px 20px;
    background: var(--dsr-bg);
}

.dsr-method-features ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.dsr-method-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dsr-text);
}

.dsr-method-features li::before {
    content: '✓';
    color: var(--dsr-success);
    font-weight: 600;
}

/* Review Summary */
.dsr-review-card {
    margin-bottom: 24px;
}

.dsr-review-section {
    padding: 20px;
    border-bottom: 1px solid var(--dsr-border);
}

.dsr-review-section:last-child {
    border-bottom: none;
}

.dsr-review-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dsr-text-light);
    margin-bottom: 8px;
}

.dsr-review-value {
    font-size: 15px;
    color: var(--dsr-text-dark);
}

.dsr-review-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dsr-review-items-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--dsr-border);
}

.dsr-review-items-list li:last-child {
    border-bottom: none;
}

.dsr-review-total {
    padding: 20px;
    background: var(--dsr-primary);
    color: var(--dsr-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dsr-review-total-label {
    font-size: 16px;
}

.dsr-review-total-amount {
    font-size: 28px;
    font-weight: 700;
}

/* What Happens Next */
.dsr-next-steps {
    background: var(--dsr-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.dsr-next-steps h4 {
    font-size: 16px;
    margin: 0 0 16px 0;
}

.dsr-next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dsr-next-step {
    display: flex;
    gap: 12px;
}

.dsr-next-step-number {
    width: 28px;
    height: 28px;
    background: var(--dsr-primary);
    color: var(--dsr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.dsr-next-step-content strong {
    display: block;
    font-size: 14px;
    color: var(--dsr-text-dark);
    margin-bottom: 4px;
}

.dsr-next-step-content span {
    font-size: 13px;
    color: var(--dsr-text-light);
}

/* Confirmation Checkbox */
.dsr-confirm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--dsr-warning-bg);
    border-radius: 8px;
    cursor: pointer;
}

.dsr-confirm-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.dsr-confirm-checkbox label {
    font-size: 14px;
    color: #92400e;
    cursor: pointer;
}

/* Form Navigation */
.dsr-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--dsr-border);
}

.dsr-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dsr-white);
    color: var(--dsr-text);
    border: 1px solid var(--dsr-border);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.dsr-btn-back:hover {
    background: var(--dsr-bg);
}

.dsr-btn-next,
.dsr-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dsr-primary);
    color: var(--dsr-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dsr-btn-next:hover,
.dsr-btn-submit:hover {
    background: var(--dsr-primary-dark);
}

.dsr-btn-submit {
    background: var(--dsr-secondary);
}

.dsr-btn-submit:hover {
    background: #e67d3a;
}

/* ==========================================================================
   Return Details Page
   ========================================================================== */
.dsr-return-details {
    max-width: 900px;
}

.dsr-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.dsr-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dsr-text-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
}

.dsr-back-link:hover {
    color: var(--dsr-primary);
}

.dsr-details-id {
    font-size: 28px;
    font-weight: 700;
    color: var(--dsr-text-dark);
    margin: 0 0 8px 0;
}

.dsr-details-meta {
    font-size: 14px;
    color: var(--dsr-text-light);
}

.dsr-details-meta a {
    color: var(--dsr-primary);
    text-decoration: none;
}

/* Status Card */
.dsr-status-card {
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.dsr-status-card.pending {
    background: var(--dsr-warning-bg);
    border-left: 4px solid var(--dsr-warning);
}

.dsr-status-card.in-progress {
    background: var(--dsr-info-bg);
    border-left: 4px solid var(--dsr-info);
}

.dsr-status-card.approved {
    background: var(--dsr-success-bg);
    border-left: 4px solid var(--dsr-success);
}

.dsr-status-card.rejected {
    background: var(--dsr-danger-bg);
    border-left: 4px solid var(--dsr-danger);
}

.dsr-status-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.dsr-status-card p {
    margin: 0;
    font-size: 14px;
}

/* Details Layout */
.dsr-details-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

@media (max-width: 900px) {
    .dsr-details-layout {
        grid-template-columns: 1fr;
    }
}

.dsr-details-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dsr-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Details Cards */
.dsr-details-card {
    background: var(--dsr-white);
    border: 1px solid var(--dsr-border);
    border-radius: 12px;
    overflow: hidden;
}

.dsr-details-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--dsr-border);
    background: var(--dsr-bg);
}

.dsr-details-card-header h4 {
    margin: 0;
    font-size: 15px;
}

.dsr-details-card-body {
    padding: 20px;
}

/* Timeline */
.dsr-timeline {
    position: relative;
    padding-left: 32px;
}

.dsr-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--dsr-border);
}

.dsr-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.dsr-timeline-item:last-child {
    padding-bottom: 0;
}

.dsr-timeline-marker {
    position: absolute;
    left: -27px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dsr-white);
    border: 2px solid var(--dsr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dsr-timeline-marker.completed {
    background: var(--dsr-success);
    border-color: var(--dsr-success);
    color: var(--dsr-white);
}

.dsr-timeline-time {
    font-size: 12px;
    color: var(--dsr-text-light);
    margin-bottom: 4px;
}

.dsr-timeline-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--dsr-text-dark);
}

/* Checkout Credit */
.dsr-checkout-credit {
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, var(--dsr-primary) 0%, var(--dsr-primary-light) 100%);
    border-radius: 8px;
    color: var(--dsr-white);
}

.dsr-checkout-credit-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dsr-checkout-credit-label {
    font-size: 14px;
    opacity: 0.9;
}

.dsr-checkout-credit-amount {
    font-size: 20px;
    font-weight: 700;
}

.dsr-checkout-credit-apply {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
}

.dsr-checkout-credit-apply input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dsr-checkout-credit-apply label {
    font-size: 14px;
    cursor: pointer;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .dsr-returns-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dsr-credit-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .dsr-form-progress {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .dsr-form-step-label {
        font-size: 10px;
    }
    
    .dsr-progress-tracker {
        overflow-x: auto;
    }
    
    .dsr-method-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .dsr-method-amount {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .dsr-step-content {
        padding: 20px;
    }
    
    .dsr-return-card-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .dsr-balance-stats {
        flex-direction: column;
        gap: 20px;
    }
}
