.tavast-returns-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tavast-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tavast-section h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 600;
}

.tavast-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
}

.tavast-section p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.tavast-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.tavast-input,
.tavast-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.tavast-input:focus,
.tavast-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.tavast-textarea {
    resize: vertical;
    font-family: inherit;
}

.tavast-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tavast-btn-primary {
    background: #2563eb;
    color: white;
}

.tavast-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tavast-btn-primary:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    transform: none;
}

.tavast-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.tavast-btn-secondary:hover {
    background: #e5e7eb;
}

.tavast-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tavast-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.tavast-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.tavast-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

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

.tavast-order-header h3 {
    margin: 0;
}

.tavast-order-info {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2563eb;
}

.tavast-order-info p {
    margin: 8px 0;
    color: #374151;
}

.tavast-order-info strong {
    color: #1f2937;
}

.tavast-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.tavast-product-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tavast-product-item:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.tavast-product-item.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tavast-product-checkbox {
    width: 22px;
    height: 22px;
    margin-right: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.tavast-product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
    flex-shrink: 0;
}

.tavast-product-details {
    flex: 1;
}

.tavast-product-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    font-size: 16px;
}

.tavast-product-meta {
    color: #6b7280;
    font-size: 14px;
}

.tavast-product-price {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin-left: 16px;
    flex-shrink: 0;
}

.tavast-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

#tavast-success-section h2 {
    text-align: center;
    color: #059669;
}

#tavast-success-section p {
    text-align: center;
    margin-bottom: 30px;
}

#tavast-new-return-btn {
    display: block;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .tavast-returns-wrapper {
        padding: 10px;
    }

    .tavast-section {
        padding: 20px;
    }

    .tavast-product-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tavast-product-checkbox {
        margin-bottom: 12px;
    }

    .tavast-product-image {
        margin-bottom: 12px;
    }

    .tavast-product-price {
        margin-left: 0;
        margin-top: 8px;
    }

    .tavast-order-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
